wined3d: Remove isInDraw hack from context_setup_target.
commitb6637eb89f14ac65efedfa4fda191b52fd5d330e
authorMatteo Bruni <matteo.mystral@gmail.com>
Sat, 7 Aug 2010 20:37:11 +0000 (7 22:37 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 16 Aug 2010 15:28:58 +0000 (16 17:28 +0200)
tree0e00a9a0059b1f4b2dc8b1a548fd94356b84e439
parentc1450356a7a7c01a607a9031200be0ba9c03b437
wined3d: Remove isInDraw hack from context_setup_target.

It is conceptually wrong and actually broken too (as the comment there
said). Just remove the hack now and properly fix any regression that
may come up later by explicitely acquiring the right context where
needed (so, in surface_internal_preload and its callees).
dlls/wined3d/context.c