From 2e1a8dcb52acd9709160bda18316a2d2ffe75f22 Mon Sep 17 00:00:00 2001 From: rvandoosselaer Date: Fri, 10 Apr 2020 15:15:38 +0200 Subject: [PATCH] Add a check to see if the NB_PROBES identifier is defined. Fixes #1340 --- .../src/main/java/jme3test/light/pbr/TestIssue1340.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/jme3-examples/src/main/java/jme3test/light/pbr/TestIssue1340.java b/jme3-examples/src/main/java/jme3test/light/pbr/TestIssue1340.java index ec89d6a47..9c4cfda7b 100644 --- a/jme3-examples/src/main/java/jme3test/light/pbr/TestIssue1340.java +++ b/jme3-examples/src/main/java/jme3test/light/pbr/TestIssue1340.java @@ -17,6 +17,8 @@ import com.jme3.system.AppSettings; */ public class TestIssue1340 extends SimpleApplication { + int frame; + public static void main(String[] args) { TestIssue1340 testIssue1340 = new TestIssue1340(); testIssue1340.setSettings(createSettings()); @@ -44,13 +46,6 @@ public class TestIssue1340 extends SimpleApplication { viewPort.setBackgroundColor(ColorRGBA.LightGray); } - /** - * #ifndef NB_PROBES - * #define NB_PROBES 0 - * #endif - */ - int frame; - @Override public void simpleUpdate(float tpf) { frame++;