wined3d: Bind correct number of samplers for GLSL shaders.
authorJason Green <jave27@gmail.com>
Tue, 20 Jun 2006 22:32:52 +0000 (18:32 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 21 Jun 2006 09:16:07 +0000 (11:16 +0200)
commite0ccbeb282b8250f4555ba3ca3dba31e77047b2a
tree7e35bd21967a9070f9a7ef872866b80d0ab520b0
parente8992af0fa8c3f799514b4c578a10138e68c8755
wined3d: Bind correct number of samplers for GLSL shaders.

We are only checking against GL_MAX_TEXTURES when binding samplers,
when we should be checking against the maximum number of samplers that
the card supports.  Spotted by H. Verbeet.
dlls/wined3d/glsl_shader.c