glx: There is no need to psc++

Signed-off-by: xurui <xurui@kylinos.cn>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24360>
This commit is contained in:
xurui 2023-07-28 15:57:10 +08:00 committed by Marge Bot
parent 6e7718dcea
commit 0a5fab555d

View file

@ -791,7 +791,7 @@ AllocAndFetchScreenConfigs(Display * dpy, struct glx_display * priv)
if (!priv->screens)
return GL_FALSE;
for (i = 0; i < screens; i++, psc++) {
for (i = 0; i < screens; i++) {
psc = NULL;
#if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL)
#if defined(GLX_USE_DRM)