wined3d: At the start of RemoveContextFromArray numContexts is decreased by 1, the...
commite3b662bb20ff2118943f0bbdc627b70f16a4f991
authorRoderick Colenbrander <thunderbird2k@gmx.net>
Sat, 3 May 2008 20:15:58 +0000 (3 20:15 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 5 May 2008 10:53:52 +0000 (5 12:53 +0200)
tree567bee1e56a11e9b975acc5ea90b774747f712ea
parented67a1f350073eb283e1b71524f324977fc0dc62
wined3d: At the start of RemoveContextFromArray numContexts is decreased by 1, the loop which loops through the whole array doesn't take this into account.

Discovered by Peter Oberndorfer.
dlls/wined3d/context.c