- Fixed: in2D was not always reset in OpenGLSWFrameBuffer::Update(), caused (!in2D) assertion failure.

This commit is contained in:
drfrag666 2018-07-22 18:21:45 +02:00
parent 6f322940fe
commit f19e9f24d2

View file

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