wined3d: Add device->isInDraw checks in LoadLocation.
commit7f2257ca556f607e9e91337e67a0c12d40e73199
authorAlexander Dorofeyev <alexd4@inbox.lv>
Sun, 6 Apr 2008 21:06:25 +0000 (7 00:06 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 7 Apr 2008 19:18:36 +0000 (7 21:18 +0200)
tree6e46ab524841b31bb862e6c90e9f5d114c602421
parent71ca80355dcd36050a3bc6299653e3eaa9fefe8c
wined3d: Add device->isInDraw checks in LoadLocation.

Prevents calling ActivateContext while holding gl lock, e.g. when preloading
texture in sampler().
dlls/wined3d/surface.c