wined3d: Set isInDraw later in drawPrimitive.
commit7c8b8e0a9319c53eb0602c0e5ab12da0b83b9ee5
authorAlexander Dorofeyev <alexd4@inbox.lv>
Mon, 7 Apr 2008 21:42:39 +0000 (8 00:42 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 8 Apr 2008 11:20:34 +0000 (8 13:20 +0200)
tree904e339c0dab17d4b79f782829da54ee0d20b060
parente7311f0aa455d0e1dfbde225dbfa0916443b56c2
wined3d: Set isInDraw later in drawPrimitive.

This should fix the problem that in LoadLocation SFLAG_INTEXTURE path gl calls
can be made without activating context, due to isInDraw checks.
dlls/wined3d/drawprim.c