Commit 3d2bdf52 authored by Alexander Dorofeyev's avatar Alexander Dorofeyev Committed by Alexandre Julliard

wined3d: Handle zero primitive count.

parent bacd2340
......@@ -984,6 +984,8 @@ void drawPrimitive(IWineD3DDevice *iface,
IWineD3DSurfaceImpl *target;
int i;
if (NumPrimitives == 0) return;
/* Signals other modules that a drawing is in progress and the stateblock finalized */
This->isInDraw = TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment