Remove hack for SDL.

This commit is contained in:
Steve Checkoway
2006-01-14 23:24:30 +00:00
parent ebb91dc6e1
commit a0ed014d57
2 changed files with 0 additions and 68 deletions
@@ -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;