(svn r18545) -Fix [FS#3292]: Assign '_screen.dst_ptr' as soon as it is allocated.
This commit is contained in:
@@ -194,6 +194,7 @@ void QZ_GameSizeChanged()
|
||||
_screen.width = _cocoa_subdriver->GetWidth();
|
||||
_screen.height = _cocoa_subdriver->GetHeight();
|
||||
_screen.pitch = _cocoa_subdriver->GetWidth();
|
||||
_screen.dst_ptr = _cocoa_subdriver->GetPixelBuffer();
|
||||
_fullscreen = _cocoa_subdriver->IsFullscreen();
|
||||
|
||||
GameSizeChanged();
|
||||
|
||||
Reference in New Issue
Block a user