Re-added double-sized mouse pointer in GUI, unless we're running under x11

This commit is contained in:
Dimitris Panokostas 2018-02-03 18:10:37 +01:00
parent 9b836b32be
commit 0001048357

View file

@ -276,14 +276,14 @@ namespace sdl
void setup_cursor()
{
// Detect resolution and load appropiate cursor image
//if (sdlMode.w > 1280)
//{
// cursor_surface = SDL_LoadBMP("data/cursor-x2.bmp");
//}
//else
//{
if (strcmp(sdl_video_driver, "x11") != 0 && sdlMode.w > 1280)
{
cursor_surface = SDL_LoadBMP("data/cursor-x2.bmp");
}
else
{
cursor_surface = SDL_LoadBMP("data/cursor.bmp");
//}
}
if (!cursor_surface)
{