wined3d: Remove the remains of an ATI_fragment_shader hack.
commit476c83522b0b8401ef6883d5aafd23e58c1b439c
authorHenri Verbeet <hverbeet@codeweavers.com>
Wed, 15 Jul 2009 10:21:16 +0000 (15 12:21 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 15 Jul 2009 11:24:19 +0000 (15 13:24 +0200)
treeddd6fdd5c3669b849cdb44f481214e5d8183717a
parent3c876de7a4a4ab711dd9a3510bf0f849e586cd31
wined3d: Remove the remains of an ATI_fragment_shader hack.

This was originally added as a workaround for a Mesa bug by commit
ddf52dda15e83eae639ef2ce0ec4071b321ce34f. The other half of the hack has since
been removed. This code causes problems when wglDeleteContext() from a
different thread causes our current context to be destroyed, since
wglGetCurrentContext() will return a destroyed context in that case. That is a
flaw in our wgl implementation, since wglDeleteContext() shouldn't allow a
context that's current in a different thread to be destroyed, but this hack is
a bad idea regardless.
dlls/wined3d/context.c