Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: ui/sdl/sdldisplay.c
- ===================================================================
- --- ui/sdl/sdldisplay.c (revision 4563)
- +++ ui/sdl/sdldisplay.c (working copy)
- @@ -103,6 +103,7 @@
- Uint32 *bw_values );
- static int sdldisplay_load_gfx_mode( void );
- +static void sdldisplay_find_best_fullscreen_scaler( void );
- static void
- init_scalers( void )
- @@ -245,6 +246,10 @@
- if ( scaler_select_scaler( current_scaler ) )
- scaler_select_scaler( SCALER_NORMAL );
- + sdldisplay_current_size = scaler_get_scaling_factor( current_scaler );
- +
- + sdldisplay_find_best_fullscreen_scaler();
- +
- if( sdldisplay_load_gfx_mode() ) return 1;
- SDL_WM_SetCaption( "Fuse", "Fuse" );
- @@ -328,8 +333,6 @@
- sdldisplay_current_size = scaler_get_scaling_factor( current_scaler );
- - sdldisplay_find_best_fullscreen_scaler();
- -
- /* Create the surface that contains the scaled graphics in 16 bit mode */
- sdldisplay_gc = SDL_SetVideoMode(
- image_width * sdldisplay_current_size,
Add Comment
Please, Sign In to add comment