mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-09 21:20:40 +01:00
xwayland: Refuse to start with indirect GLX enabled
Xwayland does not support indirect GLX contexts and enabling them will crash the xserver. Refuse to start if indirect GLX contexts are enabled on the command line. Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
This commit is contained in:
parent
d98b36461a
commit
c22ee2e580
1 changed files with 4 additions and 0 deletions
|
|
@ -973,6 +973,10 @@ xwl_screen_init(ScreenPtr pScreen, int argc, char **argv)
|
|||
else if (strcmp(argv[i], "-hidpi") == 0) {
|
||||
xwl_screen->hidpi = 1;
|
||||
}
|
||||
else if (strcmp(argv[i], "+iglx") == 0) {
|
||||
ErrorF("Xwayland does not support indirect GLX contexts\n");
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
if (!xwl_screen->rootless) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue