wined3d: Use the actual fixup for the stage in gen_ati_shader().
This fixes a regression introduced by commit 89139b75898fb5ac7094a641b0d91a06936a6c51.
This commit is contained in:
parent
3e6d1bfd93
commit
4aeaba0d29
@ -351,6 +351,7 @@ static GLuint gen_ati_shader(const struct texture_stage_op op[MAX_TEXTURES], con
|
|||||||
if(op[stage].cop != WINED3DTOP_BUMPENVMAP &&
|
if(op[stage].cop != WINED3DTOP_BUMPENVMAP &&
|
||||||
op[stage].cop != WINED3DTOP_BUMPENVMAPLUMINANCE) continue;
|
op[stage].cop != WINED3DTOP_BUMPENVMAPLUMINANCE) continue;
|
||||||
|
|
||||||
|
fixup = op[stage].color_correction;
|
||||||
if (fixup.x_source != CHANNEL_SOURCE_X || fixup.y_source != CHANNEL_SOURCE_Y)
|
if (fixup.x_source != CHANNEL_SOURCE_X || fixup.y_source != CHANNEL_SOURCE_Y)
|
||||||
{
|
{
|
||||||
FIXME("Swizzles not implemented\n");
|
FIXME("Swizzles not implemented\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user