glx: drop unnecessary pointer deref for function calls
[mesa.git] / src / glx / glxcmds.c
index bde461b43a308a877b61efad1832b89026292d8a..e3f4bc3acac33c69c1bb96370f727b52acdb5329 100644 (file)
@@ -854,7 +854,7 @@ glXSwapBuffers(Display * dpy, GLXDrawable drawable)
       if (pdraw != NULL) {
          Bool flush = gc != &dummyContext && drawable == gc->currentDrawable;
 
-         (*pdraw->psc->driScreen->swapBuffers)(pdraw, 0, 0, 0, flush);
+         pdraw->psc->driScreen->swapBuffers(pdraw, 0, 0, 0, flush);
          return;
       }
    }