test/testgl2.c
changeset 5244 762e40fb8e28
parent 3571 19691cebb866
child 5535 96594ac5fd1a
     1.1 --- a/test/testgl2.c	Thu Feb 10 11:39:08 2011 -0800
     1.2 +++ b/test/testgl2.c	Thu Feb 10 12:14:37 2011 -0800
     1.3 @@ -234,7 +234,7 @@
     1.4          SDL_GL_SetSwapInterval(0);
     1.5      }
     1.6  
     1.7 -    SDL_GetCurrentDisplayMode(&mode);
     1.8 +    SDL_GetCurrentDisplayMode(0, &mode);
     1.9      printf("Screen BPP: %d\n", SDL_BITSPERPIXEL(mode.format));
    1.10      printf("\n");
    1.11      printf("Vendor     : %s\n", glGetString(GL_VENDOR));