Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Why won't this work?

  1. #1
    Guest

    Why won't this work?

    I have a function called Render(), that contains the one function, glutClearColor(0.0f,0.0f,1.0f,1.0f);

    And i use glutDisplayFunc(Render);

    And then glutMainLoop();

    however, it wont clear the window with the blue! Whats wrong?

  2. #2
    Guest

    Re: Why won't this work?

    nevermind! i was linking with glut32.lib instead of glut.lib, and opengl32.lib instead of opengl.lib!

    DAMN mictosoft!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •