Skip to main content

Timeline for OpenGl in VS2010

Current License: CC BY-SA 3.0

6 events
when toggle format what by license comment
Aug 17, 2011 at 14:18 comment added user336635 @AlexK well, that's the headers supplied with VS so I suppose it's theirs?
Aug 16, 2011 at 23:56 comment added datenwolf @AlexK: Actually on Windows you have to include windows.h before GL/gl.h because the Windows variant of that header makes use of some macros defined therein. So it's become canonical to add a #ifdef _WIN32 #include <windows.h> #endif in OpenGL code meant to be portable.
Aug 16, 2011 at 23:48 comment added AlexK And this brings up another question: which implementation of OpenGL are you trying to use ?
Aug 16, 2011 at 23:33 comment added AlexK That depends on whether he is trying to use GLUT or WGL. GLUT wouldn't require library user to include OS specific headers.
Aug 16, 2011 at 21:12 comment added Nicol Bolas You still need to include windows.h; you can't create a window without one. And you can't initialize OpenGL without creating a window.
Aug 16, 2011 at 19:30 history answered AlexK CC BY-SA 3.0