diff options
author | Adam Jackson <ajax@redhat.com> | 2013-10-31 09:23:52 -0400 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-10-31 08:13:26 -0700 |
commit | 2eedf42c229e2251035d716a96b654222155cd51 (patch) | |
tree | d693a46ce94de4f7879c2f4705732245c8946a00 | |
parent | 902ff0b3497d202b86bf9a411e17db7b694d6eaa (diff) |
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>
-rw-r--r-- | glx/glxdricommon.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |