aboutsummaryrefslogtreecommitdiff
path: root/engine/src/android/com/jme3/renderer/android/Android22Workaround.java
diff options
context:
space:
mode:
Diffstat (limited to 'engine/src/android/com/jme3/renderer/android/Android22Workaround.java')
-rw-r--r--engine/src/android/com/jme3/renderer/android/Android22Workaround.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/engine/src/android/com/jme3/renderer/android/Android22Workaround.java b/engine/src/android/com/jme3/renderer/android/Android22Workaround.java
new file mode 100644
index 0000000..9c5bf58
--- /dev/null
+++ b/engine/src/android/com/jme3/renderer/android/Android22Workaround.java
@@ -0,0 +1,14 @@
+package com.jme3.renderer.android;
+
+import android.opengl.GLES20;
+
+public class Android22Workaround {
+ public static void glVertexAttribPointer(int location, int components, int format, boolean normalize, int stride, int offset){
+ GLES20.glVertexAttribPointer(location,
+ components,
+ format,
+ normalize,
+ stride,
+ offset);
+ }
+}