Fix some warning messages.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5962 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
626a053b36
commit
89a1be8e8c
1 changed files with 6 additions and 4 deletions
|
@ -53,10 +53,12 @@ void ModBrush_LoadGLStuff(void *ctx, void *data, size_t a, size_t b); //data ===
|
|||
#define GLclampd GLclampf
|
||||
#define GLdouble GLfloat
|
||||
#define GL_NONE 0
|
||||
#elif defined(__MACOSX__)
|
||||
//apple, you suck.
|
||||
#include <AGL/agl.h>
|
||||
#elif defined(__APPLE__)
|
||||
#elif defined(__APPLE__) || defined(__MACOSX__)
|
||||
#include <OpenGL/OpenGLAvailability.h>
|
||||
#if defined(OPENGL_DEPRECATED) && !defined(GL_SILENCE_DEPRECATION)
|
||||
#undef OPENGL_DEPRECATED
|
||||
#define OPENGL_DEPRECATED(from, to) API_DEPRECATED("Apple is deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings)", macos(from, to))
|
||||
#endif
|
||||
#include <OpenGL/gl.h> //tuna says use this.
|
||||
//apple really do suck.
|
||||
#elif defined(NACL) || defined(FTE_TARGET_WEB)
|
||||
|
|
Loading…
Reference in a new issue