freebsd-ports/games/shaaft/files/patch-utilsgl_gl++.hpp
Alexey Dokuchaev fcff2d9942 Unbreak the port presumably everywhere by not trying to redefine GLintptrARB
and GLsizeiptrARB: they are already (correctly) defined in <GL/gl.h>.  While
here, set USE_GL to `gl' instead of old-school, umbrella `yes'.
2018-01-19 15:08:00 +00:00

15 lines
374 B
C++

--- utilsgl/gl++.hpp.orig 2004-01-01 04:32:28 UTC
+++ utilsgl/gl++.hpp
@@ -27,12 +27,6 @@
# if defined(_WIN64)
typedef __int64 GLintptrARB;
typedef __int64 GLsizeiptrARB;
-# elif defined(__ia64__) || defined(__x86_64__)
- typedef long int GLintptrARB;
- typedef long int GLsizeiptrARB;
-# else
- typedef int GLintptrARB;
- typedef int GLsizeiptrARB;
# endif
#endif