Mercurial > audlegacy-plugins
diff src/projectm-1.0/video_init.cxx @ 2080:f915d43db0dc
work around older SDLs
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Mon, 15 Oct 2007 06:51:29 -0500 |
parents | 47a4e93ed7ce |
children |
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 );