Fix PRINT_ERROR print level missing from CL_RefPrintf

It's used for one message in the OpenGL2 renderer.
This commit is contained in:
Ane-Jouke Schat 2019-04-16 06:13:36 +02:00 committed by Zack Middleton
parent d068e1dce1
commit 44b18d72ac

View file

@ -3088,8 +3088,10 @@ static __attribute__ ((format (printf, 2, 3))) void QDECL CL_RefPrintf( int prin
Com_Printf ("%s", msg);
} else if ( print_level == PRINT_WARNING ) {
Com_Printf (S_COLOR_YELLOW "%s", msg); // yellow
} else if ( print_level == PRINT_ERROR ) {
Com_Printf (S_COLOR_RED "%s", msg); // red
} else if ( print_level == PRINT_DEVELOPER ) {
Com_DPrintf (S_COLOR_RED "%s", msg); // red
Com_DPrintf (S_COLOR_RED "%s", msg); // red - developer only
}
}