mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
Removed unneeded warning when running from Visual Studio
This commit is contained in:
parent
acabb5d5fd
commit
91491824ae
@ -335,7 +335,8 @@ SDL_LogOutput(void *userdata, int category, SDL_LogPriority priority,
|
|||||||
if (!attachResult) {
|
if (!attachResult) {
|
||||||
attachError = GetLastError();
|
attachError = GetLastError();
|
||||||
if (attachError == ERROR_INVALID_HANDLE) {
|
if (attachError == ERROR_INVALID_HANDLE) {
|
||||||
OutputDebugString(TEXT("Parent process has no console\r\n"));
|
/* This is expected when running from Visual Studio */
|
||||||
|
/*OutputDebugString(TEXT("Parent process has no console\r\n"));*/
|
||||||
consoleAttached = -1;
|
consoleAttached = -1;
|
||||||
} else if (attachError == ERROR_GEN_FAILURE) {
|
} else if (attachError == ERROR_GEN_FAILURE) {
|
||||||
OutputDebugString(TEXT("Could not attach to console of parent process\r\n"));
|
OutputDebugString(TEXT("Could not attach to console of parent process\r\n"));
|
||||||
|
Loading…
Reference in New Issue
Block a user