Merge pull request #20 from MrTJP/patch-1

Light attribute should not depend on colour
This commit is contained in:
Chicken-Bones committed 2014-06-16 10:12:12 +10:00
commit bdb0c8f174
1 file changed
+1 -1
@@ -190,7 +190,7 @@ public class CCRenderState
@Override
public boolean load() {
if(!computeLighting || !hasColour || !model.hasAttribute(this))
if(!computeLighting || !useColour || !model.hasAttribute(this))
return false;
colourRef = model.getAttributes(this);