#include <GL/gl.h> #include "aux.h" int main(int argc, char** argv) { GLfloat i; auxInitDisplayMode (AUX_SINGLE | AUX_RGB); auxInitPosition (0, 0, 500, 500); auxInitWindow (argv[0]); while(1) for (i=0.0;i<1;i+=0.001) { glClearColor (i, i, i, 0.0); glClear(GL_COLOR_BUFFER_BIT); glFlush(); } }