Do I need to include the OpneGL headers or just the SDL_OpenGL one?
OpenGL and SDL Headers
Started by davidthefat, Apr 25 2009 06:56 AM
3 replies to this topic
#1
Posted 25 April 2009 - 06:56 AM
|
|
|
#2
Posted 25 April 2009 - 07:01 AM
Please put more information about your problem and your source code here , without information we cant help you
#3
Posted 25 April 2009 - 07:14 AM
michaelvd12 said:
Please put more information about your problem and your source code here , without information we cant help you
Is the Opengl header same as the SDL_opengl?
#4
Posted 25 April 2009 - 07:25 AM
i dont know but if you gonna be programming in opengl you must be include this :
(works only in dev-cpp)
in dev-cpp you must update sdl-opengl and include that ;)
edit : And you must link these libaries :
libopengl32.a
libglu32.a
libglaux.h
(works only in dev-cpp)
#include <windows.h> #include <gl\gl.h> #include <gl\glu.h> #include <gl\glaux.h>
in dev-cpp you must update sdl-opengl and include that ;)
edit : And you must link these libaries :
libopengl32.a
libglu32.a
libglaux.h


Sign In
Create Account


Back to top









