OpenGL and SDL, annoying <windows.h>
I just installed SDL for use with my Visual C++ ...
I copied the exemple on OpenGL with SDL from the SDL documentation and hit compile ... and there I was disappointed to realize that some things in the OpenGL headers were not defined, I needed to #include <windows.h> before my GL headers.
That solved the problem, but is there any alternative include files for OpenGL that won''t require inclusion of windows.h ? ... I hate everything that makes my code OS dependant.
Thanks in advance.
I remember that I had to modify that header, since it gave me soem ansty errors about some things being redefined...
Height Map Editor
Height Map Editor
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement