baby steps - the changes necessary for GLSL in SDL
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@719 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
970b1ac957
commit
1232170608
@ -2,6 +2,7 @@
|
||||
|
||||
#ifndef GNUSTEP
|
||||
|
||||
// Apple OpenGL includes...
|
||||
#include <OpenGL/OpenGL.h>
|
||||
#include <OpenGL/gl.h>
|
||||
#include <OpenGL/glu.h>
|
||||
@ -9,6 +10,15 @@
|
||||
|
||||
#else
|
||||
|
||||
// SDL OpenGL includes...
|
||||
|
||||
// prevent the including of SDL_opengl.h loading a previous version of glext.h
|
||||
#define NO_SDL_GLEXT
|
||||
|
||||
// the standard SDL_opengl.h
|
||||
#include "SDL_opengl.h"
|
||||
|
||||
// include an up-to-date version of glext.h
|
||||
#include "glext.h"
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user