wined3d: Pass the requested srgb flag to PreLoad.
commit4386a827e964c1682fd51414e78ffe9e4c76e012
authorStefan Dösinger <stefan@codeweavers.com>
Mon, 16 Feb 2009 23:25:51 +0000 (17 00:25 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 17 Feb 2009 11:51:36 +0000 (17 12:51 +0100)
treefb70ac37cfdd383204bed7d60b9f94d341cbd234
parent68c251f327f89f3eff03ee93f0b00dc557f93241
wined3d: Pass the requested srgb flag to PreLoad.

Add a new wined3d-internal PreLoad function to textures and surfaces
that takes a parameter specifying wether the rgb or srgb texture
should be loaded.
dlls/wined3d/context.c
dlls/wined3d/cubetexture.c
dlls/wined3d/device.c
dlls/wined3d/state.c
dlls/wined3d/surface.c
dlls/wined3d/texture.c
dlls/wined3d/volumetexture.c
dlls/wined3d/wined3d_private.h