xserver-multidpi/hw
Olivier Fourdan a506b4ecb6 xwayland: make context current to check GL version
`glGetString(GL_VERSION)` will return NULL without a current context.

Commit dabc7d8b (“xwayland: Fall back to GLES2 if we don't get at least
GL 2.1 in glamor”) would check the context is created, but it is made
current just after, so the call to `epoxy_gl_version()` would return 0,
hence defeating the version check.

Make the context current prior to call `epoxy_gl_version()`.

Fixes: dabc7d8b - xwayland: Fall back to GLES2 if we don't get at least
                  GL 2.1 in glamor
Closes: https://gitlab.freedesktop.org/xorg/xserver/issues/932
https://gitlab.freedesktop.org/xorg/xserver/merge_requests/324
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
2019-11-06 16:01:45 +01:00
..
dmx dmx: Stop overriding the vendor string 2019-10-30 16:17:04 +00:00
kdrive Fix various spelling errors 2019-10-01 17:05:28 +00:00
vfb Revert https://gitlab.freedesktop.org/xorg/xserver/merge_requests/235 2019-10-14 12:48:24 +02:00
xfree86 mi: Add a default no-op miSourceValidate 2019-10-30 16:26:01 +00:00
xnest mi: Add a default no-op miSourceValidate 2019-10-30 16:26:01 +00:00
xquartz include: Remove now-empty site.h 2019-10-30 16:17:04 +00:00
xwayland xwayland: make context current to check GL version 2019-11-06 16:01:45 +01:00
xwin hw/xwin: Add -icon option to set the screen window icon in windowed mode 2019-09-18 19:11:45 +00:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00
meson.build meson: Move Xvfb build under an option. 2017-09-20 13:19:21 -04:00