Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
VertexShaderGen: Fix a dumb regression from revision f524312.
  • Loading branch information
NeoBrainX authored and NeoBrainX committed Jun 30, 2013
1 parent d5983b5 commit b8b5427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/VideoCommon/Src/VertexShaderGen.cpp
Expand Up @@ -279,7 +279,7 @@ static void GenerateVertexShader(T& out, u32 components, API_TYPE api_type)
out.Write("o.colors_0 = float4(1.0f, 1.0f, 1.0f, 1.0f);\n");
}

if (g_ActiveConfig.bEnablePixelLighting && g_ActiveConfig.backend_info.bSupportsPixelLighting)
if (!(g_ActiveConfig.bEnablePixelLighting && g_ActiveConfig.backend_info.bSupportsPixelLighting))
GenerateLightingShader<T>(out, uid_data.lighting, components, I_MATERIALS, I_LIGHTS, "color", "o.colors_");

if (xfregs.numChan.numColorChans < 2)
Expand Down

0 comments on commit b8b5427

Please sign in to comment.