From fe2079c4c014934d1a5dbc87733742fea5a619da Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Sun, 15 Dec 2013 12:37:55 +0200 Subject: glx: Simplify __glxGetMscRate, it only needs the screen, not a drawable Useful in its own right, but also needed for adaptive vsync. No regressions in the piglit glx-oml-sync-control-getmscrate test. Signed-off-by: Lauri Kasanen Reviewed-by: Ian Romanick Tested-by: Ian Romanick --- src/glx/glxclient.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/glx/glxclient.h') diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h index e33dba6a8f..a7118af226 100644 --- a/src/glx/glxclient.h +++ b/src/glx/glxclient.h @@ -781,7 +781,7 @@ extern GLboolean __glXGetMscRateOML(Display * dpy, GLXDrawable drawable, #if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL) extern GLboolean -__glxGetMscRate(__GLXDRIdrawable *glxDraw, +__glxGetMscRate(struct glx_screen *psc, int32_t * numerator, int32_t * denominator); /* So that dri2.c:DRI2WireToEvent() can access -- cgit v1.2.3