Skip to content

Commit 2e1a8dc

Browse files
rvandoosselaerstephengold
authored andcommitted
Add a check to see if the NB_PROBES identifier is defined. Fixes #1340
1 parent 76210fe commit 2e1a8dc

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

jme3-examples/src/main/java/jme3test/light/pbr/TestIssue1340.java

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
*/
1818
public class TestIssue1340 extends SimpleApplication {
1919

20+
int frame;
21+
2022
public static void main(String[] args) {
2123
TestIssue1340 testIssue1340 = new TestIssue1340();
2224
testIssue1340.setSettings(createSettings());
@@ -44,13 +46,6 @@ public void simpleInitApp() {
4446
viewPort.setBackgroundColor(ColorRGBA.LightGray);
4547
}
4648

47-
/**
48-
* #ifndef NB_PROBES
49-
* #define NB_PROBES 0
50-
* #endif
51-
*/
52-
int frame;
53-
5449
@Override
5550
public void simpleUpdate(float tpf) {
5651
frame++;

0 commit comments

Comments
 (0)