mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-25 05:04:07 +01:00
This commit is contained in:
committed by
Patric Stout
parent
2c93c3b9cb
commit
da55c7c69f
@@ -1417,6 +1417,7 @@ bool VideoDriver_Win32OpenGL::AllocateBackingStore(int w, int h, bool force)
|
||||
|
||||
this->dirty_rect = {};
|
||||
bool res = OpenGLBackend::Get()->Resize(w, h, force);
|
||||
SwapBuffers(this->dc);
|
||||
_screen.dst_ptr = this->GetVideoPointer();
|
||||
|
||||
return res;
|
||||
|
||||
Reference in New Issue
Block a user