1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/games/darkplaces/files/patch-glquake.h
Pawel Pekala 8bf7974e1b - Update to 20110628 [1]
- Add desktop entries for client programs [2]

PR:		ports/161910
Submitted by:	green dog <fiziologus@gmail.com> [1], myself [2]
2011-10-25 16:46:11 +00:00

15 lines
439 B
C

--- glquake.h.orig 2011-10-22 00:02:41.000000000 +0400
+++ glquake.h 2011-10-21 23:16:37.000000000 +0400
@@ -758,9 +758,11 @@
// GL 2.0 shader objects
#ifndef GL_PROGRAM_OBJECT
+#ifndef __glext_h_
// 1-byte character string
typedef char GLchar;
#endif
+#endif
extern void (GLAPIENTRY *qglDeleteShader)(GLuint obj);
extern void (GLAPIENTRY *qglDeleteProgram)(GLuint obj);
//extern GLuint (GLAPIENTRY *qglGetHandle)(GLenum pname);