I\'m trying to draw simple circle with C++/OpenGl
my code is:
#include
#include
void Draw() {
glClear(GL_COLOR_
It looks like immediately after you draw the circle, you go into the main glut loop, where you've set the Draw() function to draw every time through the loop. So it's probably drawing the circle, then erasing it immediately and drawing the square. You should probably either make DrawCircle() your glutDisplayFunc(), or call DrawCircle() from Draw().