mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
glx: Remove redundant null check.
Gitlab: https://gitlab.freedesktop.org/mesa/mesa/issues/64 Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
706c9f2d60
commit
ec76232785
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue