wined3d: Texture limits fixes.
commita54e36adfebd721c1f5c823b2edf784f1af1d9c2
authorH. Verbeet <hverbeet@gmail.com>
Tue, 27 Jun 2006 21:40:42 +0000 (27 23:40 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 28 Jun 2006 14:06:25 +0000 (28 16:06 +0200)
tree017eb842d2d9334f9ec4931e79fe1e5035d12a18
parentf40dd7635e95ea2033d54e7801d29dff83954dcd
wined3d: Texture limits fixes.

GL_LIMITS(textures) is currently used for both the number of texture
stages and the maximum number of simultaneous textures. In the current
code that's the same, but in a later patch that will be separated,
since a texture stage doesn't have to reference an actual
texture. Also, shaders can access a larger number of samplers than the
number of texture units the fixed function pipeline can access.
dlls/wined3d/device.c
dlls/wined3d/directx.c
dlls/wined3d/drawprim.c
dlls/wined3d/stateblock.c
dlls/wined3d/wined3d_private.h
include/wine/wined3d_gl.h