mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-08 21:10:16 +01:00
xwayland/glx: Mirror all EGLConfigs
Updated the for-loop that iterates over the received EGLConfigs to include the very first EGLConfig with index 0. Signed-off-by: Doğukan Korkmaztürk <dkorkmazturk@nvidia.com> Fixes:8469241592- xwayland: Add EGL-backed GLX provider (cherry picked from commit3852b0d10a)
This commit is contained in:
parent
4303ddfbf9
commit
e982ca4420
1 changed files with 1 additions and 1 deletions
|
|
@ -339,7 +339,7 @@ egl_mirror_configs(ScreenPtr pScreen, struct egl_screen *screen)
|
|||
/* We walk the EGL configs backwards to make building the
|
||||
* ->next chain easier.
|
||||
*/
|
||||
for (i = nconfigs - 1; i > 0; i--)
|
||||
for (i = nconfigs - 1; i >= 0; i--)
|
||||
for (j = 0; j < 3; j++) /* direct_color */
|
||||
for (k = 0; k < 2; k++) /* double_buffer */ {
|
||||
if (can_srgb)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue