diff options
author | Eric Engestrom <[email protected]> | 2018-11-22 19:47:28 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-08-04 11:26:20 +0100 |
commit | e7e3fd5c03fcae2c72d142bfc5ea67b7b78d49bc (patch) | |
tree | 16b0f88f87e2f119efa2dee8b1229ee155669a46 /src/glx/dri_common.c | |
parent | 9668d7f5393dcc95f3d447a7dfb1c28265a2c9fd (diff) |
glx: drop unnecessary pointer deref for function calls
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Adam Jackson <[email protected]>
Diffstat (limited to 'src/glx/dri_common.c')
-rw-r--r-- | src/glx/dri_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/dri_common.c b/src/glx/dri_common.c index 2db29fd6abb..d7279d7d1fb 100644 --- a/src/glx/dri_common.c +++ b/src/glx/dri_common.c @@ -397,7 +397,7 @@ driReleaseDrawables(struct glx_context *gc) if (pdraw->drawable == pdraw->xDrawable) { pdraw->refcount --; if (pdraw->refcount == 0) { - (*pdraw->destroyDrawable)(pdraw); + pdraw->destroyDrawable(pdraw); __glxHashDelete(priv->drawHash, gc->currentDrawable); } } @@ -408,7 +408,7 @@ driReleaseDrawables(struct glx_context *gc) if (pdraw->drawable == pdraw->xDrawable) { pdraw->refcount --; if (pdraw->refcount == 0) { - (*pdraw->destroyDrawable)(pdraw); + pdraw->destroyDrawable(pdraw); __glxHashDelete(priv->drawHash, gc->currentReadable); } } |