void display(void);
{
glClearColor(1.0f, 0.0f, 0.0f, 1.0f); // Clear the background of our window to red
glClear(GL_COLOR_BUFFER_BIT); //Clear the colour buffer (more buffers later on)
glLoadIdentity(); // Load the Identity Matrix to reset our drawing locations
glFlush(); // Flush the OpenGL buffers to the window
}
void glutInit(int* argcp, char** argv);
glutInitDisplayMode(GLUT_RGB | GLUT_DEPTH);
glutInitWindowPosition(100, 200);
//this sets the size for the window
glutInitWindowSize(800, 700);
//create the window with a title
glutCreateWindow("This is a window title");
//this is the method that will have all the draw stuff.
glutDisplayFunc(display);
glutIdleFunc(display);
glutMainLoop();
//issue the GL commands
glTranslatef(-.3, 0., 0.);
glRotated(ROT, XX, YY, ZZ);
glScalef(.01, .01, .01);
using the statements above directly from a glutInit tutorial and getting a linker error about the void display void being unresolved, not sure what the problem is, maybe someone can help, Sid Kraft