flush geometry before disabling/enabling lighting

This commit is contained in:
codeanticode
2015-08-07 10:41:36 -04:00
parent 81c0732f22
commit 31a4dbbf37

View File

@@ -5675,14 +5675,14 @@ public class PGraphicsOpenGL extends PGraphics {
protected void enableLighting() {
lights = true;
flush();
lights = true;
}
protected void disableLighting() {
lights = false;
flush();
lights = false;
}