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
This commit is contained in:
Glenn Maynard
2004-06-14 04:00:14 +00:00
parent c2d109dc02
commit 235935572e
-16
View File
@@ -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();