Henri Verbeet : wined3d: Make the texture parameter to texture_srgb_mode() const.
Alexandre Julliard
julliard at winehq.org
Fri Jul 15 11:45:12 CDT 2011
Module: wine
Branch: master
Commit: 2e14d9ac0eefed485cf9c8f0ac96a8c1c456ba8d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2e14d9ac0eefed485cf9c8f0ac96a8c1c456ba8d
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Fri Jul 15 01:14:52 2011 +0200
wined3d: Make the texture parameter to texture_srgb_mode() const.
---
dlls/wined3d/texture.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/texture.c b/dlls/wined3d/texture.c
index eb4fa75..31bb5b5 100644
--- a/dlls/wined3d/texture.c
+++ b/dlls/wined3d/texture.c
@@ -647,7 +647,7 @@ static HRESULT texture2d_bind(struct wined3d_texture *texture,
return hr;
}
-static BOOL texture_srgb_mode(struct wined3d_texture *texture, enum WINED3DSRGB srgb)
+static BOOL texture_srgb_mode(const struct wined3d_texture *texture, enum WINED3DSRGB srgb)
{
switch (srgb)
{
More information about the wine-cvs
mailing list