You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
api-impl: GLES20: add glReadPixels
This commit is contained in:
@@ -772,14 +772,16 @@ public class GLImpl implements GL10, GL10Ext, GL11, GL11Ext, GL11ExtensionPack {
|
||||
|
||||
// C function void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels )
|
||||
|
||||
public native void glReadPixels(
|
||||
public void glReadPixels(
|
||||
int x,
|
||||
int y,
|
||||
int width,
|
||||
int height,
|
||||
int format,
|
||||
int type,
|
||||
java.nio.Buffer pixels);
|
||||
java.nio.Buffer pixels) {
|
||||
GLES10.glReadPixels(x, y, width, height, format, type, pixels);
|
||||
}
|
||||
|
||||
// C function void glRotatef ( GLfloat angle, GLfloat x, GLfloat y, GLfloat z )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user