diff options
author | Lauri Kasanen <[email protected]> | 2013-12-15 12:37:55 +0200 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-12-20 16:43:08 -0800 |
commit | fe2079c4c014934d1a5dbc87733742fea5a619da (patch) | |
tree | 8ce123d05842148e8b9ed84bcf442dd3b52020d5 /src/glx/glxclient.h | |
parent | 6b5111398110f9ae374723ad6225ada1a0e60fd2 (diff) |
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 <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Tested-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glx/glxclient.h')
-rw-r--r-- | src/glx/glxclient.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h index e33dba6a8fb..a7118af2260 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 |