From 235935572e47d26210c98516c58cd360c0e5c032 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 14 Jun 2004 04:00:14 +0000 Subject: [PATCH] remove SDL version check; we only required 1.2.6 due to an alpha blit bug in 1.2.5, and we no longer use SDL's blits --- stepmania/src/StepMania.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index cf541cb8e7..ca4a22f2c2 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -664,20 +664,6 @@ RageDisplay *CreateDisplay() RageException::Throw( error ); } -static void CheckSDLVersion( int major, int minor, int patch ) -{ - const SDL_version *ver = SDL_Linked_Version(); - if( ver->major > major || - (ver->major == major && ver->minor > minor) || - (ver->major == major && ver->minor == minor && ver->patch >= patch)) - return; - - RageException::Throw( "SDL %i.%i.%i is required, but you only appear to " - "have SDL %i.%i.%i installed. Please upgrade your installation of SDL or download " - "it from:\n\n\thttp://www.libsdl.org/", - major, minor, patch, ver->major, ver->minor, ver->patch ); -} - static void RestoreAppPri() { if(!ChangeAppPri()) @@ -1005,8 +991,6 @@ int main(int argc, char* argv[]) srand( time(NULL) ); // seed number generator - CheckSDLVersion( 1,2,6 ); - if( PREFSMAN->m_bFirstRun ) OnFirstRun();