Stefan Dösinger : wined3d: Pass the requested srgb flag to PreLoad.
Alexandre Julliard
julliard at winehq.org
Tue Feb 17 08:49:11 CST 2009
Module: wine
Branch: master
Commit: 4386a827e964c1682fd51414e78ffe9e4c76e012
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4386a827e964c1682fd51414e78ffe9e4c76e012
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Tue Feb 17 00:25:51 2009 +0100
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 | 8 ++++++--
dlls/wined3d/cubetexture.c | 19 ++++++++++++++++---
dlls/wined3d/device.c | 8 ++++++--
dlls/wined3d/state.c | 4 ++--
dlls/wined3d/surface.c | 35 ++++++++++++++++++++++-------------
dlls/wined3d/texture.c | 19 ++++++++++++++++---
dlls/wined3d/volumetexture.c | 6 +++++-
dlls/wined3d/wined3d_private.h | 14 ++++++++++++++
8 files changed, 87 insertions(+), 26 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=4386a827e964c1682fd51414e78ffe9e4c76e012
More information about the wine-cvs
mailing list