Added platform independent OpenGL header - SDL_opengl.h
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40215
This commit is contained in:
parent
0a5dc12bd0
commit
3deb725c6a
5 changed files with 311 additions and 8 deletions
|
@ -6,13 +6,7 @@
|
|||
#include "SDL.h"
|
||||
|
||||
#ifdef HAVE_OPENGL
|
||||
#ifdef WIN32
|
||||
#include <windows.h>
|
||||
#endif
|
||||
#if defined(__APPLE__) && defined(__MACH__)
|
||||
#include <OpenGL/gl.h>
|
||||
#else
|
||||
#include <GL/gl.h>
|
||||
#include "SDL_opengl.h"
|
||||
#endif
|
||||
|
||||
#define SHADED_CUBE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue