Commit c729f7bd authored by Richard Gobeille's avatar Richard Gobeille
Browse files

engine: restrict SDL_SetGammaRamp() failure console spam to debug builds

parent 51666438
......@@ -2147,7 +2147,7 @@ int32_t videoSetGamma(void)
{
#endif
if (i != INT32_MIN)
LOG_F(ERROR, "Failed setting window gamma ramp: %s.", SDL_GetError());
DLOG_F(ERROR, "Failed setting window gamma ramp: %s.", SDL_GetError());
#ifndef EDUKE32_GLES
#if SDL_MAJOR_VERSION >= 2
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment