win32: SDL2 already calls OutputDebugString()

This commit is contained in:
Thomas Bernard 2019-02-04 18:12:27 +01:00
parent ca2f98e15e
commit d5645dec26
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C

View File

@ -74,7 +74,7 @@ extern void GFX2_LogV(GFX2_Log_priority_T priority, const char * fmt, va_list ap
#else
vfprintf((unsigned)priority >= GFX2_INFO ? stdout : stderr, fmt, ap);
#endif
#if defined(_MSC_VER) && defined(_DEBUG)
#if defined(_MSC_VER) && defined(_DEBUG) && !defined(USE_SDL2)
{
char message[1024];
vsnprintf(message, sizeof(message), fmt, ap);