I need someone to rework my Core Opengl code

Job ID: 35074072

Budget: $10 – $30 USD

Hey, people!
I want to achieve the same result as shown on the picture but I just cannot do it. Can you please rework my code, so that the compiled file has the same output?
Related categories: C Programming C++ Programming OpenGL