Make sure SwapInterval is only ever called while the default frame buffer is bound to avoid problems with some drivers

This commit is contained in:
Magnus Norddahl 2017-03-03 16:30:04 +01:00 committed by Christoph Oelckers
commit 6055f136d8
2 changed files with 24 additions and 1 deletions

View file

@ -83,6 +83,8 @@ public:
bool Is8BitMode() { return false; }
bool IsHWGammaActive() const { return HWGammaActive; }
void SetVSync(bool vsync);
private:
PalEntry Flash;