Add a check to see if the NB_PROBES identifier is defined. Fixes #1340
This commit is contained in:
parent
ded268a660
commit
227de6f22a
@ -17,6 +17,8 @@ import com.jme3.system.AppSettings;
|
|||||||
*/
|
*/
|
||||||
public class TestIssue1340 extends SimpleApplication {
|
public class TestIssue1340 extends SimpleApplication {
|
||||||
|
|
||||||
|
int frame;
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
TestIssue1340 testIssue1340 = new TestIssue1340();
|
TestIssue1340 testIssue1340 = new TestIssue1340();
|
||||||
testIssue1340.setSettings(createSettings());
|
testIssue1340.setSettings(createSettings());
|
||||||
@ -44,13 +46,6 @@ public class TestIssue1340 extends SimpleApplication {
|
|||||||
viewPort.setBackgroundColor(ColorRGBA.LightGray);
|
viewPort.setBackgroundColor(ColorRGBA.LightGray);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* #ifndef NB_PROBES
|
|
||||||
* #define NB_PROBES 0
|
|
||||||
* #endif
|
|
||||||
*/
|
|
||||||
int frame;
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void simpleUpdate(float tpf) {
|
public void simpleUpdate(float tpf) {
|
||||||
frame++;
|
frame++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user