summaryrefslogtreecommitdiffstats
path: root/make/config/jogl/glu-CustomJavaCode-gl2es1.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-06-17 23:42:58 +0200
committerSven Gothel <[email protected]>2014-06-17 23:42:58 +0200
commit4e91f5e085585481b542c476a1ba599f2e914bf1 (patch)
tree1b8164703ad61ab367d74a3880acf2c9a6b3dedf /make/config/jogl/glu-CustomJavaCode-gl2es1.java
parent68ca3ae8fcce28c62034299bc6e6f7eaab50bd1f (diff)
Fix regression due to GlueGen commit c3054a01990e55ab35756ea23ab7d7c05f24dd37, completes JOGL commit 68ca3ae8fcce28c62034299bc6e6f7eaab50bd1f
Add handling of 'initializeImpl()' of generated GLU* classes: - GLU : no 'initializeImpl()' <- no libs - GLUgl2es1: no 'initializeImpl()' <- no libs - GLUgl: call 'initializeImpl()' in manual static init impl. Further more, we shall not initialize the GLU* classes in GLU static init method, querying GLU* class availability. Tested via OlympicES1.
Diffstat (limited to 'make/config/jogl/glu-CustomJavaCode-gl2es1.java')
-rw-r--r--make/config/jogl/glu-CustomJavaCode-gl2es1.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/make/config/jogl/glu-CustomJavaCode-gl2es1.java b/make/config/jogl/glu-CustomJavaCode-gl2es1.java
index 203d1eeae..de9c65b8d 100644
--- a/make/config/jogl/glu-CustomJavaCode-gl2es1.java
+++ b/make/config/jogl/glu-CustomJavaCode-gl2es1.java
@@ -8,6 +8,10 @@ static {
if (val != null && !val.toLowerCase().equals("false")) {
useJavaMipmapCode = false;
}
+ // No native code, not required nor possible
+ // if( !initializeImpl() ) {
+ // throw new RuntimeException("Initialization failure");
+ // }
return null;
}
});