wined3d: Remove variable dlc_tmp which is not really used from shader_arb_generate_pshader.

This commit is contained in:
Gerald Pfeifer 2010-04-21 13:49:20 +02:00 committed by Alexandre Julliard
parent dec98a5997
commit 07c8120b57
1 changed files with 3 additions and 2 deletions

View File

@ -3309,7 +3309,7 @@ static GLuint shader_arb_generate_pshader(IWineD3DPixelShaderImpl *This, struct
char fragcolor[16];
DWORD *lconst_map = local_const_mapping((IWineD3DBaseShaderImpl *) This), next_local, cur;
struct shader_arb_ctx_priv priv_ctx;
BOOL dcl_tmp = args->super.srgb_correction, dcl_td = FALSE;
BOOL dcl_td = FALSE;
BOOL want_nv_prog = FALSE;
struct arb_pshader_private *shader_priv = This->baseShader.backend_data;
GLint errPos;
@ -3331,7 +3331,6 @@ static GLuint shader_arb_generate_pshader(IWineD3DPixelShaderImpl *This, struct
}
switch(found) {
case 4: dcl_tmp = FALSE; break;
case 0:
sprintf(srgbtmp[0], "TA");
sprintf(srgbtmp[1], "TB");
@ -3351,6 +3350,8 @@ static GLuint shader_arb_generate_pshader(IWineD3DPixelShaderImpl *This, struct
case 3:
sprintf(srgbtmp[3], "TA");
break;
case 4:
break;
}
/* Create the hw ARB shader */