From 2eedf42c229e2251035d716a96b654222155cd51 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Thu, 31 Oct 2013 09:23:52 -0400 Subject: [PATCH] dri: Fix GLX_Y_INVERTED_EXT fbconfig attribute 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 Signed-off-by: Keith Packard --- glx/glxdricommon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/glx/glxdricommon.c b/glx/glxdricommon.c index 48f0bce21..1022c0075 100644 --- a/glx/glxdricommon.c +++ b/glx/glxdricommon.c @@ -178,6 +178,7 @@ createModeFromConfig(const __DRIcoreExtension * core, config->config.visualType = visualType; config->config.renderType = renderType; config->config.drawableType = drawableType; + config->config.yInverted = GL_TRUE; return &config->config; }