changeset 2080:f915d43db0dc

work around older SDLs
author William Pitcock <nenolod@atheme.org>
date Mon, 15 Oct 2007 06:51:29 -0500
parents 551862ab5d86
children 9084e2e05f4a e49d9b0ee308
files src/projectm-1.0/video_init.cxx
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 );