[PATCH] dri: Fix GLX_Y_INVERTED_EXT fbconfig attribute
Adam Jackson
ajax at redhat.com
Thu Oct 31 14:23:52 CET 2013
We're Y-inverted from GL's coordinates, so this is correct. gnome-shell
doesn't seem to check this - somewhat reasonable since the only server
that answered the other way around was Xglx - but kwin does, and
upside-down hilarity ensues.
Tested-by: maelcum on #xorg-devel
Signed-off-by: Adam Jackson <ajax at redhat.com>
---
glx/glxdricommon.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/glx/glxdricommon.c b/glx/glxdricommon.c
index b027f24..f54bf2f 100644
--- a/glx/glxdricommon.c
+++ b/glx/glxdricommon.c
@@ -172,6 +172,7 @@ createModeFromConfig(const __DRIcoreExtension * core,
config->config.xRenderable = GL_TRUE;
config->config.visualType = visualType;
config->config.drawableType = drawableType;
+ config->config.yInverted = GL_TRUE;
return &config->config;
}
--
1.8.3.1
More information about the xorg-devel
mailing list