wined3d: Make the texture parameter to texture_srgb_mode() const.

This commit is contained in:
Henri Verbeet 2011-07-15 01:14:52 +02:00 committed by Alexandre Julliard
parent dd2f2c40f0
commit 2e14d9ac0e
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{