Jump to content

OpenGL and SDL Headers

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
davidthefat

davidthefat

    Learning Programmer

  • Members
  • PipPipPip
  • 82 posts
Do I need to include the OpneGL headers or just the SDL_OpenGL one?

#2
michaelvd12

michaelvd12

    Learning Programmer

  • Members
  • PipPipPip
  • 99 posts
Please put more information about your problem and your source code here , without information we cant help you

#3
davidthefat

davidthefat

    Learning Programmer

  • Members
  • PipPipPip
  • 82 posts

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
michaelvd12

michaelvd12

    Learning Programmer

  • Members
  • PipPipPip
  • 99 posts
i dont know but if you gonna be programming in opengl you must be include this :

(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