Fix compiler warning about unused parameters

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-07-25 02:27:02 +01:00
parent c3c0578d14
commit bb756b2238
15 changed files with 122 additions and 90 deletions

View File

@@ -124,7 +124,7 @@ static bool vsync_opengl_swc_init(session_t *ps) {
/**
* Wait for next VSync, OpenGL method.
*/
static int vsync_opengl_wait(session_t *ps) {
static int vsync_opengl_wait(session_t *ps attr_unused) {
unsigned vblank_count = 0;
glXGetVideoSyncSGI(&vblank_count);