Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 672858 | Differences between
and this patch

Collapse All | Expand All

(-)addons/allegrogl/src/x.orig (-2 / +2 lines)
Lines 650-656 Link Here
650
		return -1;
650
		return -1;
651
	}
651
	}
652
652
653
	if (!(render_type & GLX_RGBA_BIT) && !(render_type & GLX_RGBA_FLOAT_BIT)) {
653
	if (!(render_type & GLX_RGBA_BIT) && !(render_type & GLX_RGBA_FLOAT_BIT_ARB)) {
654
		TRACE(PREFIX_I "decode_fbconfig: Not RGBA mode\n");
654
		TRACE(PREFIX_I "decode_fbconfig: Not RGBA mode\n");
655
		return -1;
655
		return -1;
656
	}
656
	}
Lines 674-680 Link Here
674
	/* Floating-point depth is not supported as glx extension (yet). */
674
	/* Floating-point depth is not supported as glx extension (yet). */
675
	i->float_depth = 0;
675
	i->float_depth = 0;
676
676
677
	i->float_color = (render_type & GLX_RGBA_FLOAT_BIT);
677
	i->float_color = (render_type & GLX_RGBA_FLOAT_BIT_ARB);
678
678
679
	v = glXGetVisualFromFBConfig(_xwin.display, fbc);
679
	v = glXGetVisualFromFBConfig(_xwin.display, fbc);
680
	if (!v) {
680
	if (!v) {

Return to bug 672858