Jump to content

  • Log In with Google      Sign In   
  • Create Account


Readarmon0

Member Since 04 Mar 2013
Offline Last Active Mar 05 2013 12:44 AM
-----

Topics I've Started

Rendered Objects Won't Appear In Windowed Mode

04 March 2013 - 04:27 PM

I'm in the midst of learning OpenGL, using the Win API as opposed to GLEW/GLUT that's often recommended, and I'm currently plowing through Nehe's OpenGL Tutorial. I'm attempting to render a pair of three-dimensional objects and to an extent was successful. While the objects appear on the screen in fullscreen mode, if I choose to begin with or switch to windowed mode, the objects won't appear. I'm assuming it has something to do with the CreateGLWindow function that handles creating the windows regardless of display mode, because the DrawGLScene function at least remains consistent in continually drawing the same image, rendering only the background if windowed and rendering the background and objects if fullscreen. Below is the link to the source code discussed. Any assistance would be greatly appreciated, thanks.

 

https://gist.github.com/anonymous/5086149


PARTNERS