summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/ui/GLId.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/gallery3d/ui/GLId.java')
-rw-r--r--src/com/android/gallery3d/ui/GLId.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/ui/GLId.java b/src/com/android/gallery3d/ui/GLId.java
index 6151177d6..689cf192e 100644
--- a/src/com/android/gallery3d/ui/GLId.java
+++ b/src/com/android/gallery3d/ui/GLId.java
@@ -17,6 +17,7 @@
package com.android.gallery3d.ui;
import javax.microedition.khronos.opengles.GL11;
+import javax.microedition.khronos.opengles.GL11ExtensionPack;
// This mimics corresponding GL functions.
public class GLId {
@@ -41,4 +42,9 @@ public class GLId {
public synchronized static void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) {
gl.glDeleteBuffers(n, buffers, offset);
}
+
+ public synchronized static void glDeleteFramebuffers(
+ GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) {
+ gl11ep.glDeleteFramebuffersOES(n, buffers, offset);
+ }
}