Move the setting of states from device to basetexture, states that
commitbb6f9b022be3ece472061dd9d8bafac023aa7db0
authorOliver Stieber <oliver_stieber@yahoo.co.uk>
Wed, 3 Aug 2005 11:00:28 +0000 (3 11:00 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 3 Aug 2005 11:00:28 +0000 (3 11:00 +0000)
tree26bd22df9f5903eae640ab3efee0b8b73b7bb72b
parent3b5c2221ccdec11857dff1df58480d4454c40752
Move the setting of states from device to basetexture, states that
relate to the opengl texture object will only be updated when they are
out of sync, this reduces the number of texture object state changes
during game play in Axis and allies from several hundreds to 0 or 1.
dlls/wined3d/basetexture.c
dlls/wined3d/cubetexture.c
dlls/wined3d/device.c
dlls/wined3d/directx.c
dlls/wined3d/texture.c
dlls/wined3d/volumetexture.c
dlls/wined3d/wined3d_private.h
include/wine/wined3d_interface.h