http://bugs.winehq.org/show_bug.cgi?id=7924
------- Additional Comments From stefandoesinger@gmx.at 2007-05-06 06:39 ------- Created an attachment (id=6623) --> (http://bugs.winehq.org/attachment.cgi?id=6623&action=view) Hack for this problem
The attached patch addresses this problem by checking which sampler is beeing read by the shader and avoiding setting the per sampler settings on the texture if the sampler isn't used. It is a hack however, and it breaks the flashlight in hl2.