mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
Proper default value for GL framebuffer lock in Cocoa backend
No more error when running with +map command line parameter with classic HUD: > VM execution aborted: Attempt to draw to screen outside a draw function > Called from BaseStatusBar.DrawImage [Native] > Called from DoomStatusBar.DrawFullScreenStuff at gzdoom.pk3:zscript/statusbar/doom_sbar.txt, line 140 > Called from DoomStatusBar.Draw at gzdoom.pk3:zscript/statusbar/doom_sbar.txt, line 41
This commit is contained in:
parent
e780cd8297
commit
36ad485edd
1 changed files with 1 additions and 1 deletions
|
@ -1146,7 +1146,7 @@ void CocoaFrameBuffer::Flip()
|
|||
|
||||
SDLGLFB::SDLGLFB(void*, const int width, const int height, int, int, const bool fullscreen, bool bgra)
|
||||
: DFrameBuffer(width, height, bgra)
|
||||
, m_lock(-1)
|
||||
, m_lock(0)
|
||||
, m_isUpdatePending(false)
|
||||
{
|
||||
CGGammaValue gammaTable[GAMMA_TABLE_SIZE];
|
||||
|
|
Loading…
Reference in a new issue