# HG changeset patch # User William Pitcock # Date 1192449089 18000 # Node ID f915d43db0dc6f036299e142ff8ad6b5670ba714 # Parent 551862ab5d862dcb471a87d51a95b234631af163 work around older SDLs diff -r 551862ab5d86 -r f915d43db0dc src/projectm-1.0/video_init.cxx --- a/src/projectm-1.0/video_init.cxx Mon Oct 15 06:43:06 2007 -0500 +++ b/src/projectm-1.0/video_init.cxx Mon Oct 15 06:51:29 2007 -0500 @@ -54,8 +54,9 @@ } // printf("Screen Resolution: %d x %d\n", info->current_w, info->current_h); - *fvw = info->current_w; - *fvh = info->current_h; +// XXX + *fvw = w; + *fvh = h; bpp = info->vfmt->BitsPerPixel; //SDL_GL_SetAttribute( SDL_GL_RED_SIZE, 8 ); //SDL_GL_SetAttribute( SDL_GL_GREEN_SIZE, 8 );