diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-fps/tenebrae/files/1.04-glhax.patch | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-fps/tenebrae/files/1.04-glhax.patch')
-rw-r--r-- | games-fps/tenebrae/files/1.04-glhax.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/games-fps/tenebrae/files/1.04-glhax.patch b/games-fps/tenebrae/files/1.04-glhax.patch new file mode 100644 index 000000000000..a185d8e10c7d --- /dev/null +++ b/games-fps/tenebrae/files/1.04-glhax.patch @@ -0,0 +1,32 @@ +--- tenebrae_0/glquake.h 2004-12-25 00:28:28.707288592 -0500 ++++ tenebrae_0/glquake.h 2004-12-25 00:27:35.000000000 -0500 +@@ -34,6 +34,7 @@ + #else + #include <GL/gl.h> + #include <GL/glu.h> ++#include <GL/glext.h> + #endif /* __APPLE__ ||ÊMACOSX */ + + /* use the correct dynamic function address binder */ +@@ -420,8 +421,10 @@ + void GL_Bind (int texnum); + + #ifndef _WIN32 ++#ifndef APIENTRY + #define APIENTRY /* */ + #endif ++#endif + + #if !defined (__APPLE__) && !defined (MACOSX) + +@@ -1134,8 +1137,10 @@ + // <AWE> There are some diffs with the function parameters. wgl stuff not present with MacOS X. -DC- and SDL + #if defined (__APPLE__) || defined (MACOSX) || defined(SDL) || defined (__glx__) + ++#ifndef GL_APPLE_vertex_array_range + typedef void (APIENTRY * PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, const GLvoid *pointer); + typedef void (APIENTRY * PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei size, const GLvoid *pointer); ++#endif + + extern PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC qglFlushVertexArrayRangeAPPLE; + extern PFNGLVERTEXARRAYRANGEAPPLEPROC qglVertexArrayRangeAPPLE; |