projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
706c9f2
)
glx: Remove redundant null check.
author
Bas Nieuwenhuizen
<bas@basnieuwenhuizen.nl>
Thu, 19 Sep 2019 14:50:08 +0000
(16:50 +0200)
committer
Bas Nieuwenhuizen
<bas@basnieuwenhuizen.nl>
Thu, 19 Sep 2019 15:11:10 +0000
(15:11 +0000)
Gitlab: https://gitlab.freedesktop.org/mesa/mesa/issues/64
Reviewed-by: Adam Jackson <ajax@redhat.com>
src/glx/dri2_glx.c
patch
|
blob
|
history
diff --git
a/src/glx/dri2_glx.c
b/src/glx/dri2_glx.c
index d6a543c8da0c5361808272b84354bd90b84bbe78..bed25bb38d609b40334234d270c2bf4188a42c15 100644
(file)
--- a/
src/glx/dri2_glx.c
+++ b/
src/glx/dri2_glx.c
@@
-1018,7
+1018,7
@@
dri2InvalidateBuffers(Display *dpy, XID drawable)
psc = (struct dri2_screen *) pdraw->psc;
- if (p
draw && p
sc->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);
}