diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-01-19 08:28:57 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-01-19 08:28:57 +0000 |
commit | d0d40a539cf6ba36e7de49f11a0a62933ef51a56 (patch) | |
tree | c705a4bb871459c3eb4ab25baa13273854adff3a /dev-games | |
parent | Initial import. (diff) | |
download | gentoo-2-d0d40a539cf6ba36e7de49f11a0a62933ef51a56.tar.gz gentoo-2-d0d40a539cf6ba36e7de49f11a0a62933ef51a56.tar.bz2 gentoo-2-d0d40a539cf6ba36e7de49f11a0a62933ef51a56.zip |
use patch from clanlib cvs #38631
Diffstat (limited to 'dev-games')
-rw-r--r-- | dev-games/clanlib/files/0.7.7-gl-prototype.patch | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/dev-games/clanlib/files/0.7.7-gl-prototype.patch b/dev-games/clanlib/files/0.7.7-gl-prototype.patch index eb6e44f49935..636e6a72d6cf 100644 --- a/dev-games/clanlib/files/0.7.7-gl-prototype.patch +++ b/dev-games/clanlib/files/0.7.7-gl-prototype.patch @@ -1,9 +1,11 @@ ---- Sources/API/GL/opengl_wrap.h.orig 2004-01-17 22:59:57.862435912 -0500 -+++ Sources/API/GL/opengl_wrap.h 2004-01-17 23:00:54.660801248 -0500 -@@ -1887,5 +1887,5 @@ - typedef void (CL_GLFUNC *ptr_glDrawPixels)(CLsizei width, CLsizei height, CLenum format, CLenum type, const CLvoid *pixels); - typedef void (CL_GLFUNC *ptr_glEdgeFlag)(CLboolean flag); -- typedef void (CL_GLFUNC *ptr_glEdgeFlagPointer)(CLsizei stride, const CLvoid *pointer); -+ typedef void (CL_GLFUNC *ptr_glEdgeFlagPointer)(CLsizei stride, const CLboolean *pointer); - typedef void (CL_GLFUNC *ptr_glEdgeFlagv)(const CLboolean *flag); - typedef void (CL_GLFUNC *ptr_glEnable)(CLenum cap); +--- Sources/GL/opengl_state_generic.cpp.orig 2004-01-19 03:27:03.151761520 -0500 ++++ Sources/GL/opengl_state_generic.cpp 2004-01-19 03:27:22.483822600 -0500 +@@ -518,7 +518,7 @@ + functions->drawElements = &glDrawElements; + functions->drawPixels = &glDrawPixels; + functions->edgeFlag = &glEdgeFlag; +- functions->edgeFlagPointer = &glEdgeFlagPointer; ++ functions->edgeFlagPointer = (CL_GLFunctions::ptr_glEdgeFlagPointer) &glEdgeFlagPointer; + functions->edgeFlagv = &glEdgeFlagv; + functions->enable = &glEnable; + functions->enableClientState = &glEnableClientState; |