Module: wine Branch: master Commit: 4386a827e964c1682fd51414e78ffe9e4c76e012 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4386a827e964c1682fd51414e7...
Author: Stefan Dösinger stefan@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=4386a827e964c1682fd514...