aboutsummaryrefslogtreecommitdiffstats
path: root/make/config/jogl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-02-23 22:35:27 +0100
committerSven Gothel <[email protected]>2012-02-23 22:35:27 +0100
commit429c20d2f4335ddc5409dcbfc183336dc8d3155f (patch)
tree4350e498bc3991f11d678ffa875929a06d9139fa /make/config/jogl
parent852aefc9840030ee6581c5470b9f34da47481589 (diff)
MemoryObject: Use proper generics style
Diffstat (limited to 'make/config/jogl')
-rw-r--r--make/config/jogl/gl-impl-CustomJavaCode-gl4bc.java2
-rw-r--r--make/config/jogl/gl-impl-CustomJavaCode-gles1.java2
-rw-r--r--make/config/jogl/gl-impl-CustomJavaCode-gles2.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/make/config/jogl/gl-impl-CustomJavaCode-gl4bc.java b/make/config/jogl/gl-impl-CustomJavaCode-gl4bc.java
index d83ccd8de..dc4f898e6 100644
--- a/make/config/jogl/gl-impl-CustomJavaCode-gl4bc.java
+++ b/make/config/jogl/gl-impl-CustomJavaCode-gl4bc.java
@@ -182,7 +182,7 @@ public boolean glIsPBOUnpackEnabled() {
return checkUnpackPBOEnabled(false);
}
-private HashMap/*<MemoryObject>*/ arbMemCache = new HashMap();
+private HashMap<MemoryObject, MemoryObject> arbMemCache = new HashMap<MemoryObject, MemoryObject>();
/** Entry point to C language function: <br> <code> LPVOID glMapBuffer(GLenum target, GLenum access); </code> */
public java.nio.ByteBuffer glMapBuffer(int target, int access) {
diff --git a/make/config/jogl/gl-impl-CustomJavaCode-gles1.java b/make/config/jogl/gl-impl-CustomJavaCode-gles1.java
index abb10cee0..9b0d98fe9 100644
--- a/make/config/jogl/gl-impl-CustomJavaCode-gles1.java
+++ b/make/config/jogl/gl-impl-CustomJavaCode-gles1.java
@@ -203,7 +203,7 @@ private boolean checkPackPBOEnabled(boolean throwException) {
return false;
}
-private HashMap/*<MemoryObject>*/ arbMemCache = new HashMap();
+private HashMap<MemoryObject, MemoryObject> arbMemCache = new HashMap<MemoryObject, MemoryObject>();
/** Entry point to C language function: <br> <code> LPVOID glMapBuffer(GLenum target, GLenum access); </code> */
public java.nio.ByteBuffer glMapBuffer(int target, int access) {
diff --git a/make/config/jogl/gl-impl-CustomJavaCode-gles2.java b/make/config/jogl/gl-impl-CustomJavaCode-gles2.java
index 195124d79..ea6544d29 100644
--- a/make/config/jogl/gl-impl-CustomJavaCode-gles2.java
+++ b/make/config/jogl/gl-impl-CustomJavaCode-gles2.java
@@ -207,7 +207,7 @@ private boolean checkPackPBOEnabled(boolean throwException) {
return false;
}
-private HashMap/*<MemoryObject>*/ arbMemCache = new HashMap();
+private HashMap<MemoryObject, MemoryObject> arbMemCache = new HashMap<MemoryObject, MemoryObject>();
/** Entry point to C language function: <br> <code> LPVOID glMapBuffer(GLenum target, GLenum access); </code> */
public java.nio.ByteBuffer glMapBuffer(int target, int access) {