Removed SDL 1.2 code

This commit is contained in:
Robert Beckebans 2024-12-18 11:51:34 +01:00
parent 573933fe19
commit c22b312bd0
3 changed files with 10 additions and 1000 deletions

View file

@ -214,7 +214,7 @@ cpuid_t Sys_GetCPUId()
}
// check for Streaming SIMD Extensions 3 aka Prescott's New Instructions
#if 0 //SDL_VERSION_ATLEAST(2,0,0)
#if 0
if( SDL_HasSSE3() )
{
flags |= CPUID_SSE3;

File diff suppressed because it is too large Load diff

View file

@ -563,7 +563,7 @@ void VKimp_Shutdown( bool shutdownSDL )
}
}
/* Eric: Is this needed/used for Vulkan?
/*
=================
VKimp_SetGamma
=================
@ -576,12 +576,11 @@ void VKimp_SetGamma( unsigned short red[256], unsigned short green[256], unsigne
return;
}
#if SDL_VERSION_ATLEAST(2, 0, 0)
// TODO remove
if( SDL_SetWindowGammaRamp( window, red, green, blue ) )
#else
if( SDL_SetGammaRamp( red, green, blue ) )
#endif
{
common->Warning( "Couldn't set gamma ramp: %s", SDL_GetError() );
}
}
void VKimp_GrabInput( int flags )