Remove hack for SDL.
This commit is contained in:
@@ -6,16 +6,6 @@
|
||||
#include "arch/ArchHooks/ArchHooks.h"
|
||||
#include "DisplayResolutions.h"
|
||||
|
||||
#if defined(MACOSX)
|
||||
extern "C"
|
||||
{
|
||||
extern void SetupWindow();
|
||||
extern void SM_ShowCursor( bool b );
|
||||
}
|
||||
// SDL_ShowCursor doesn't seem to work on OS X any longer
|
||||
#define SDL_ShowCursor(x) SM_ShowCursor( (x) == SDL_ENABLE )
|
||||
#endif
|
||||
|
||||
LowLevelWindow_SDL::LowLevelWindow_SDL()
|
||||
{
|
||||
/* By default, ignore all SDL events. We'll enable them as we need them.
|
||||
@@ -149,11 +139,6 @@ CString LowLevelWindow_SDL::TryVideoMode( const VideoModeParams &p, bool &bNewDe
|
||||
LOG->Info( "SDL version: %i.%i.%i", ver->major, ver->minor, ver->patch );
|
||||
}
|
||||
|
||||
#if defined(MACOSX)
|
||||
if (p.windowed)
|
||||
SetupWindow();
|
||||
#endif
|
||||
|
||||
{
|
||||
/* Find out what we really got. */
|
||||
int r,g,b,a, colorbits, depth, stencil;
|
||||
|
||||
Reference in New Issue
Block a user