wined3d: Remove some code that doesn't make a whole lot of sense.

The "instr" parameter to shader_glsl_gen_modifier() is actually a source
parameter, so comparing against WINED3DSIO_TEXKILL is just silly.
This commit is contained in:
Henri Verbeet 2009-04-02 10:40:59 +02:00 committed by Alexandre Julliard
parent 4902dd9801
commit c697bdc3a1
1 changed files with 0 additions and 3 deletions

View File

@ -941,9 +941,6 @@ static void shader_glsl_gen_modifier (
char *out_str) {
out_str[0] = 0;
if (instr == WINED3DSIO_TEXKILL)
return;
switch (instr & WINED3DSP_SRCMOD_MASK) {
case WINED3DSPSM_DZ: /* Need to handle this in the instructions itself (texld & texcrd). */