Explorar el Código

glx: Remove redundant null check.

Gitlab: https://gitlab.freedesktop.org/mesa/mesa/issues/64
Reviewed-by: Adam Jackson <ajax@redhat.com>
tags/19.3-branchpoint
Bas Nieuwenhuizen hace 7 años
padre
commit
ec76232785
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/glx/dri2_glx.c

+ 1
- 1
src/glx/dri2_glx.c Ver fichero

@@ -1018,7 +1018,7 @@ dri2InvalidateBuffers(Display *dpy, XID drawable)

psc = (struct dri2_screen *) pdraw->psc;

if (pdraw && psc->f && psc->f->base.version >= 3 && psc->f->invalidate)
if (psc->f && psc->f->base.version >= 3 && psc->f->invalidate)
psc->f->invalidate(pdp->driDrawable);
}


Cargando…
Cancelar
Guardar