http://bugs.winehq.org/show_bug.cgi?id=9210
--- Comment #12 from H. Verbeet hverbeet@gmail.com 2008-06-13 05:05:55 --- That patch is not a proper fix. MaxSimultaneousTextures referes to the number of fixed function samplers a program can use, GL_MAX_TEXTURE_IMAGE_UNITS_ARB refers to the number of samplers a fragment shader can use. The issue here is that the nvidia drivers only expose a max of 4 sampler when using fixed function. The only way we can work around this is to write a replacement shader for fragment processing. This would require a decent amount of work, but should be doable.