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

15 lines
648 B
Diff

diff -Nur allegro-4.4.2/addons/allegrogl/include/allegrogl/GLext/glx_ext_defs.h new/addons/allegrogl/include/allegrogl/GLext/glx_ext_defs.h
--- allegro-4.4.2/addons/allegrogl/include/allegrogl/GLext/glx_ext_defs.h 2008-10-09 19:22:52.000000000 +0200
+++ new/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