Commit c697bdc3 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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.
parent 4902dd98
......@@ -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). */
......
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