- Move cursor variables again due to shared code with Cocoa and SDL backends.

This commit is contained in:
Braden Obrzut 2014-11-24 23:26:38 -05:00
parent 0123279a1f
commit 46eb5ce265
2 changed files with 5 additions and 4 deletions

View file

@ -9,8 +9,8 @@
#include "v_palette.h"
#include "textures.h"
SDL_Surface *cursorSurface = NULL;
SDL_Rect cursorBlit = {0, 0, 32, 32};
extern SDL_Surface *cursorSurface;
extern SDL_Rect cursorBlit;
#ifdef USE_XCURSOR
// Xlib has its own GC, so don't let it interfere.

View file

@ -81,10 +81,11 @@ struct MiniModeInfo
// EXTERNAL DATA DECLARATIONS ----------------------------------------------
extern IVideo *Video;
extern SDL_Surface *cursorSurface;
extern SDL_Rect cursorBlit;
extern bool GUICapture;
SDL_Surface *cursorSurface = NULL;
SDL_Rect cursorBlit = {0, 0, 32, 32};
EXTERN_CVAR (Float, Gamma)
EXTERN_CVAR (Int, vid_maxfps)
EXTERN_CVAR (Bool, cl_capfps)