Re-added double-sized mouse pointer in GUI, unless we're running under x11
This commit is contained in:
parent
9b836b32be
commit
0001048357
1 changed files with 7 additions and 7 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue