Cleanup : rename Set_mode_SDL() to GFX2_Set_mode()

This commit is contained in:
Thomas Bernard 2018-06-25 09:46:30 +02:00
parent af25970c09
commit c6fdb6064c
3 changed files with 2 additions and 8 deletions

View File

@ -400,11 +400,7 @@ try_again:
if (screen_changed)
{
#if defined(USE_SDL) || defined(USE_SDL2)
Set_mode_SDL(&width, &height,fullscreen);
#else
GFX2_Set_mode(&width, &height, fullscreen);
#endif
}
if (screen_changed || pixels_changed)

View File

@ -114,7 +114,7 @@ void Screen_FillRect(int x, int y, int w, int h, byte color)
}
/// Sets the new screen/window dimensions.
void Set_mode_SDL(int *width, int *height, int fullscreen)
void GFX2_Set_mode(int *width, int *height, int fullscreen)
{
static SDL_Cursor* cur = NULL;
static byte cursorData = 0;

View File

@ -33,8 +33,6 @@
#include "struct.h"
#include "global.h"
void Set_mode_SDL(int *,int *,int);
GFX2_GLOBAL SDL_Rect ** List_SDL_video_modes;
///