Merge pull request #978 from cxd4/glitch-WriteTrace

[Glitch64] unresolved reference to old macro LOG()
This commit is contained in:
zilmar 2016-02-06 06:55:07 +11:00
commit 3bc6aa55cc
1 changed files with 4 additions and 2 deletions

View File

@ -2964,8 +2964,10 @@ static void CorrectGamma(LPVOID apGammaRamp)
#else
static void CorrectGamma(const FxU16 aGammaRamp[3][256])
{
int res = SDL_SetGammaRamp(aGammaRamp[0], aGammaRamp[1], aGammaRamp[2]);
LOG("SDL_SetGammaRamp returned %d\r\n", res);
int res;
res = SDL_SetGammaRamp(aGammaRamp[0], aGammaRamp[1], aGammaRamp[2]);
WriteTrace(TraceGlitch, TraceDebug, "SDL_SetGammaRamp returned %d\r\n", res);
}
#endif