wined3d: Duplicate GL textures for srgb switching.
commitc585b4de9949ec3cb583de4a3a49768835e4103c
authorStefan Dösinger <stefan@codeweavers.com>
Fri, 16 Jan 2009 15:22:09 +0000 (16 16:22 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 17 Feb 2009 11:48:05 +0000 (17 12:48 +0100)
treecd3a392ab872324825b58743d9e30bfa00f7fa51
parent2803516d26496129226a5a93c91a788cf3f9f140
wined3d: Duplicate GL textures for srgb switching.

This reduces the number of srgb switching reloads quite a lot. The only
situation in which a reload is needed is if the rgb copy is modified on the GL
side and the srgb copy is needed.
dlls/wined3d/basetexture.c
dlls/wined3d/cubetexture.c
dlls/wined3d/device.c
dlls/wined3d/state.c
dlls/wined3d/surface.c
dlls/wined3d/surface_base.c
dlls/wined3d/texture.c
dlls/wined3d/volume.c
dlls/wined3d/volumetexture.c
dlls/wined3d/wined3d_private.h
include/wine/wined3d.idl