mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
Zero In2D before calling Flip()
- Fixes an assert when resizing the window in windowed mode. Flip() can call V_OutputResized() in windowed mode.
This commit is contained in:
parent
b420347bab
commit
3f32ccada6
1 changed files with 1 additions and 0 deletions
|
@ -1092,6 +1092,7 @@ void D3DFB::Update ()
|
|||
DrawRateStuff();
|
||||
DrawPackedTextures(d3d_showpacks);
|
||||
EndBatch(); // Make sure all batched primitives are drawn.
|
||||
In2D = 0;
|
||||
Flip();
|
||||
}
|
||||
In2D = 0;
|
||||
|
|
Loading…
Reference in a new issue