Fix CCRenderState reference (#59)

This commit is contained in:
Maya authored and GitHub committed 2025-05-10 11:05:52 -05:00
1 parent 126ca91eeb
commit 189b3bc95c
1 file changed
+2 -2
@@ -13,8 +13,8 @@ public class FullBrightLighting implements CCRenderState.IVertexOperation {
if (!state.computeLighting) {
return false;
}
state.pipeline.addDependency(CCRenderState.colourAttrib);
state.pipeline.addDependency(CCRenderState.lightCoordAttrib);
state.pipeline.addDependency(CCRenderState.instance().colourAttrib);
state.pipeline.addDependency(CCRenderState.instance().lightCoordAttrib);
return true;
}