mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-04 10:39:06 +02:00
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:
parent
902ff0b349
commit
2eedf42c22
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue