mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 22:29:18 +01:00
flush geometry before disabling/enabling lighting
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user