Commit 1ac60004 authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

wined3d: Update sRGB GL texture state.

parent 7f27eb6a
......@@ -401,6 +401,7 @@ void wined3d_texture_apply_state_changes(struct wined3d_texture *texture,
glTexParameteri(target, GL_TEXTURE_SRGB_DECODE_EXT,
sampler_states[WINED3DSAMP_SRGBTEXTURE] ? GL_DECODE_EXT : GL_SKIP_DECODE_EXT);
checkGLcall("glTexParameteri(GL_TEXTURE_SRGB_DECODE_EXT)");
gl_tex->states[WINED3DTEXSTA_SRGBTEXTURE] = sampler_states[WINED3DSAMP_SRGBTEXTURE];
}
if (!(texture->resource.format->flags & WINED3DFMT_FLAG_SHADOW)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment