xserver: Branch 'master'

Keith Packard keithp at kemper.freedesktop.org
Thu Oct 31 16:13:39 CET 2013


 glx/glxdricommon.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 2eedf42c229e2251035d716a96b654222155cd51
Author: Adam Jackson <ajax at redhat.com>
Date:   Thu Oct 31 09:23:52 2013 -0400

    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 <ajax at redhat.com>
    Signed-off-by: Keith Packard <keithp at keithp.com>

diff --git a/glx/glxdricommon.c b/glx/glxdricommon.c
index 48f0bce..1022c00 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;
 }


More information about the xorg-commit mailing list