summaryrefslogtreecommitdiff
path: root/test/testgl2.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testgl2.c')
-rw-r--r--test/testgl2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testgl2.c b/test/testgl2.c
index 1ae8abde..8e82c648 100644
--- a/test/testgl2.c
+++ b/test/testgl2.c
@@ -234,7 +234,7 @@ main(int argc, char *argv[])
SDL_GL_SetSwapInterval(0);
}
- SDL_GetCurrentDisplayMode(&mode);
+ SDL_GetCurrentDisplayMode(0, &mode);
printf("Screen BPP: %d\n", SDL_BITSPERPIXEL(mode.format));
printf("\n");
printf("Vendor : %s\n", glGetString(GL_VENDOR));