SHA256
1
0
forked from pool/allegro44
allegro44/fix-glx.patch

14 lines
495 B
Diff
Raw Permalink Normal View History

--- addons/allegrogl/include/allegrogl/GLext/glx_ext_defs.h.orig 2008-10-09 19:22:52.000000000 +0200
+++ addons/allegrogl/include/allegrogl/GLext/glx_ext_defs.h 2019-01-23 17:53:44.359602186 +0100
@@ -374,6 +374,10 @@
#define AGLX_ARB_fbconfig_float
#define GLX_RGBA_FLOAT_TYPE 0x20B9
#define GLX_RGBA_FLOAT_BIT 0x00000004
+#else
+#ifndef GLX_RGBA_FLOAT_BIT
+#define GLX_RGBA_FLOAT_BIT GLX_RGBA_FLOAT_BIT_ARB
+#endif
#endif
#ifndef GLX_EXT_framebuffer_sRGB