- fixed crash after saving a screenshot

https://forum.zdoom.org/viewtopic.php?t=60616
This commit is contained in:
alexey.lysiuk 2018-05-19 13:19:24 +03:00
commit ace5ee3c41
2 changed files with 3 additions and 4 deletions

View file

@ -64,7 +64,6 @@ public:
bool HWGammaActive = false; // Are we using hardware or software gamma?
std::shared_ptr<FGLDebug> mDebug; // Debug API
private:
uint8_t *ScreenshotBuffer; // What the name says. This must be maintained because the software renderer can return a locked canvas surface which the caller cannot release.
int camtexcount = 0;
class Wiper