From 362c2a1d10f571dec920708ae2a1721e08823807 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 20 Jan 2005 01:50:56 +0000 Subject: [PATCH] remove some unused stuff --- stepmania/src/SDL_utils.cpp | 30 ------------------------------ stepmania/src/SDL_utils.h | 2 -- 2 files changed, 32 deletions(-) diff --git a/stepmania/src/SDL_utils.cpp b/stepmania/src/SDL_utils.cpp index 48d79ba34b..c62967dd66 100644 --- a/stepmania/src/SDL_utils.cpp +++ b/stepmania/src/SDL_utils.cpp @@ -14,23 +14,6 @@ #include -/* Pull in all of our SDL libraries here. */ -#ifdef _XBOX - #ifdef DEBUG - #pragma comment(lib, "SDLx-0.02/SDLxd.lib") - #else - #pragma comment(lib, "SDLx-0.02/SDLx.lib") - #endif -#elif defined _WINDOWS - #ifdef DEBUG - #pragma comment(lib, "SDL-1.2.6/lib/SDLd.lib") - #else - #pragma comment(lib, "SDL-1.2.6/lib/SDL.lib") - #endif -#endif - - - bool SDL_GetEvent( SDL_Event &event, int mask ) { /* SDL_PeepEvents returns error if video isn't initialized. */ @@ -222,19 +205,6 @@ RageSurface *RageSurfaceFromSDLSurface( SDL_Surface *surf ) return ret; } -void SDL_UpdateHWnd() -{ -#ifdef _WINDOWS - /* Grab the window manager specific information */ - SDL_SysWMinfo info; - SDL_VERSION(&info.version); - if ( SDL_GetWMInfo(&info) < 0 ) - RageException::Throw( "SDL_GetWMInfo failed" ); - - g_hWndMain = info.window; -#endif -} - #if defined(UNIX) #include "archutils/Unix/EmergencyShutdown.h" void EmergencyShutdownSDL() diff --git a/stepmania/src/SDL_utils.h b/stepmania/src/SDL_utils.h index ab25274a1b..4d6fc95174 100644 --- a/stepmania/src/SDL_utils.h +++ b/stepmania/src/SDL_utils.h @@ -27,8 +27,6 @@ void mySDL_WM_SetIcon( CString sIconFile ); SDL_Surface *SDLSurfaceFromRageSurface( RageSurface *surf ); RageSurface *RageSurfaceFromSDLSurface( SDL_Surface *surf ); -void SDL_UpdateHWnd(); - void SetupSDL(); #endif