parent
70f00ac9e6
commit
fb881ce306
@ -0,0 +1 @@
|
||||
# Calculate append=skip
|
@ -0,0 +1 @@
|
||||
# Calculate append=skip merge()!=
|
@ -0,0 +1,23 @@
|
||||
# Calculate format=diff merge(media-libs/allegro)=>4.4.2,5
|
||||
diff --git a/addons/allegrogl/src/x.c b/addons/allegrogl/src/x.c
|
||||
index e0f9042..a969556 100644
|
||||
--- a/addons/allegrogl/src/x.c
|
||||
+++ b/addons/allegrogl/src/x.c
|
||||
@@ -650,7 +650,7 @@ static int decode_fbconfig (GLXFBConfig fbc, struct allegro_gl_display_info *i)
|
||||
return -1;
|
||||
}
|
||||
|
||||
- if (!(render_type & GLX_RGBA_BIT) && !(render_type & GLX_RGBA_FLOAT_BIT)) {
|
||||
+ if (!(render_type & GLX_RGBA_BIT) && !(render_type & GLX_RGBA_FLOAT_BIT_ARB)) {
|
||||
TRACE(PREFIX_I "decode_fbconfig: Not RGBA mode\n");
|
||||
return -1;
|
||||
}
|
||||
@@ -674,7 +674,7 @@ static int decode_fbconfig (GLXFBConfig fbc, struct allegro_gl_display_info *i)
|
||||
/* Floating-point depth is not supported as glx extension (yet). */
|
||||
i->float_depth = 0;
|
||||
|
||||
- i->float_color = (render_type & GLX_RGBA_FLOAT_BIT);
|
||||
+ i->float_color = (render_type & GLX_RGBA_FLOAT_BIT_ARB);
|
||||
|
||||
v = glXGetVisualFromFBConfig(_xwin.display, fbc);
|
||||
if (!v) {
|
Loading…
Reference in new issue