D1242: Missing BeginDraw

An attempt to render a primitive outside of BeginDraw/EndDraw.

Error Level Error