Merge pull request #1550 from Azaezel/ResetGFX

new method: ResetGFX();
This commit is contained in:
Anis 2016-03-22 12:53:02 +01:00
commit 7ccac9b9b7

View file

@ -1329,3 +1329,8 @@ DefineEngineFunction( getBestHDRFormat, GFXFormat, (),,
return format;
}
DefineConsoleFunction(ResetGFX, void, (), , "forces the gbuffer to be reinitialized in cases of improper/lack of buffer clears.")
{
GFX->beginReset();
}