mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-13 22:22:05 +00:00
Removed SDL 1.2 code
This commit is contained in:
parent
573933fe19
commit
c22b312bd0
3 changed files with 10 additions and 1000 deletions
|
@ -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
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue