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@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Adam Jackson 2013-10-31 09:23:52 -04:00 committed by Keith Packard
parent 902ff0b349
commit 2eedf42c22

View File

@ -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;
}