GL20: fix parameter name indices -> offset

This commit is contained in:
Hannes Janetzek 2014-09-09 22:49:28 +02:00
parent 20afbfe230
commit 8741357c9a
2 changed files with 7 additions and 4 deletions

View File

@ -139,8 +139,8 @@ public class AndroidGL implements GL20 {
}
@Override
public void glDrawElements(int mode, int count, int type, int indices) {
GLES20.glDrawElements(mode, count, type, indices);
public void glDrawElements(int mode, int count, int type, int offset) {
GLES20.glDrawElements(mode, count, type, offset);
}
@Override

View File

@ -395,7 +395,7 @@ public interface GL20 {
public void glDisableVertexAttribArray(int index);
public void glDrawElements(int mode, int count, int type, int indices);
public void glDrawElements(int mode, int count, int type, int offset);
public void glEnableVertexAttribArray(int index);
@ -565,8 +565,11 @@ public interface GL20 {
public void glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride,
Buffer ptr);
/**
*
*/
public void glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride,
int ptr);
int offset);
//------------------------