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:
Marisa Heit 2016-11-01 22:54:27 -05:00
parent b420347bab
commit 3f32ccada6

View file

@ -1092,6 +1092,7 @@ void D3DFB::Update ()
DrawRateStuff();
DrawPackedTextures(d3d_showpacks);
EndBatch(); // Make sure all batched primitives are drawn.
In2D = 0;
Flip();
}
In2D = 0;