#include <GLUT/glut.h>
#include <OpenGL/gl.h>

void renderer(void);
void initialSetup(void);

int main (int argc, const char * argv[]) 
{
    glutInit(&argc, (char **)argv);
    glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB);
    glutCreateWindow("First Program");
    glutDisplayFunc(renderer);
    initialSetup();
    glutMainLoop();
    return 0;
}

void renderer(void)
{
    glClear(GL_COLOR_BUFFER_BIT);
    glFlush();
}

void initialSetup(void)
{
    glClearColor(0.0, 0.0, .5, 1.0);
}