Module: Mesa Branch: main Commit: ecc6d78b0541d66765d434dd4158066d6c664f8e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ecc6d78b0541d66765d434dd4158066d6c664f8e
Author: Adam Jackson <[email protected]> Date: Wed Jun 16 13:52:10 2021 -0400 glx: Don't strip off window/pixmap support from float fbconfigs The X server doesn't get this wrong. It's not the client's job to correct what the server says here. And if anyone ever implements HDR for X11, you might in fact want to be able to use floats with a window. Reviewed-by: Michel Dänzer <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13002> --- src/glx/glxext.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/glx/glxext.c b/src/glx/glxext.c index fa8de18816e..8930e866fa3 100644 --- a/src/glx/glxext.c +++ b/src/glx/glxext.c @@ -623,15 +623,6 @@ __glXInitializeVisualConfigFromTags(struct glx_config * config, int count, } } } - - /* The GLX_ARB_fbconfig_float spec says: - * - * "Note that floating point rendering is only supported for - * GLXPbuffer drawables." - */ - if (config->renderType & - (GLX_RGBA_FLOAT_BIT_ARB|GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT)) - config->drawableType &= GLX_PBUFFER_BIT; } static struct glx_config *
