mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-23 13:24:13 +00:00
Possibility to use dedicated version with SDL(it's used only by internal timer)
This commit is contained in:
parent
063eb151c4
commit
becd0eba03
@ -13,7 +13,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#ifdef XASH_SDL
|
||||
#if defined( XASH_SDL ) && !defined( XASH_DEDICATED )
|
||||
#include <SDL.h>
|
||||
|
||||
#include "common.h"
|
||||
@ -637,4 +637,4 @@ int SDLash_JoyInit( int numjoy )
|
||||
}
|
||||
|
||||
|
||||
#endif // XASH_SDL
|
||||
#endif // defined( XASH_SDL ) && !defined( XASH_DEDICATED )
|
||||
|
@ -12,6 +12,8 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
*/
|
||||
#ifndef XASH_DEDICATED
|
||||
|
||||
#include "common.h"
|
||||
#include "client.h"
|
||||
#include "gl_local.h"
|
||||
@ -1254,3 +1256,5 @@ void R_Free_OpenGL( void )
|
||||
memset( glConfig.extension, 0, sizeof( glConfig.extension ));
|
||||
glw_state.initialized = false;
|
||||
}
|
||||
|
||||
#endif // XASH_DEDICATED
|
||||
|
Loading…
x
Reference in New Issue
Block a user