wined3d: Make the texture parameter to texture_srgb_mode() const.
This commit is contained in:
parent
dd2f2c40f0
commit
2e14d9ac0e
|
@ -647,7 +647,7 @@ static HRESULT texture2d_bind(struct wined3d_texture *texture,
|
||||||
return hr;
|
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)
|
switch (srgb)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue