Added hardware gamma option and improved window handling on Windows

This commit is contained in:
Magnus Norddahl 2016-07-26 21:27:02 +02:00 committed by Christoph Oelckers
commit aeb7df09de
25 changed files with 899 additions and 67 deletions

View file

@ -77,7 +77,7 @@ public:
void WipeCleanup();
void Swap();
bool Is8BitMode() { return false; }
bool IsHWGammaActive() const { return HWGammaActive; }
private:
PalEntry Flash;
@ -107,6 +107,8 @@ private:
FHardwareTexture *wipestartscreen;
FHardwareTexture *wipeendscreen;
bool HWGammaActive = false;
public:
AActor * LastCamera;
int palette_brightness;