mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 01:39:36 +00:00
Add cflags/ldflags, SDL version to engine.log
This commit is contained in:
@@ -67,7 +67,8 @@
|
||||
#endif
|
||||
|
||||
#if defined( USE_SDL )
|
||||
#include "SDL.h"
|
||||
#include <SDL.h>
|
||||
#include <SDL_version.h>
|
||||
|
||||
#if !defined( _WIN32 )
|
||||
#define MB_OK 0x00000001
|
||||
@@ -1218,6 +1219,12 @@ DLL_EXPORT int LauncherMain( int argc, char **argv )
|
||||
|
||||
#endif // LINUX
|
||||
|
||||
#ifdef USE_SDL
|
||||
SDL_version ver;
|
||||
SDL_GetVersion( &ver );
|
||||
Msg("SDL version: %d.%d.%d rev: %s\n", (int)ver.major, (int)ver.minor, (int)ver.patch, SDL_GetRevision());
|
||||
#endif
|
||||
|
||||
#if defined LINUX && defined USE_SDL && defined TOGLES && !defined ANDROID
|
||||
SDL_SetHint(SDL_HINT_VIDEO_X11_FORCE_EGL, "1");
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user