diff --git a/dlls/wined3d/ati_fragment_shader.c b/dlls/wined3d/ati_fragment_shader.c index c4815294d44..e722f0511bb 100644 --- a/dlls/wined3d/ati_fragment_shader.c +++ b/dlls/wined3d/ati_fragment_shader.c @@ -812,7 +812,6 @@ static void set_tex_op_atifs(DWORD state, IWineD3DStateBlockImpl *stateblock, Wi for(i = 0; i < desc->num_textures_used; i++) { mapped_stage = This->texUnitMap[i]; if(mapped_stage != -1) { - const struct StateEntry *StateTable = stateblock->wineD3DDevice->shader_backend->StateTable; GL_EXTCALL(glActiveTextureARB(GL_TEXTURE0_ARB + mapped_stage)); checkGLcall("glActiveTextureARB"); texture_activate_dimensions(i, stateblock, context);