GL20: fix parameter name indices -> offset
This commit is contained in:
parent
20afbfe230
commit
8741357c9a
@ -139,8 +139,8 @@ public class AndroidGL implements GL20 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void glDrawElements(int mode, int count, int type, int indices) {
|
public void glDrawElements(int mode, int count, int type, int offset) {
|
||||||
GLES20.glDrawElements(mode, count, type, indices);
|
GLES20.glDrawElements(mode, count, type, offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -395,7 +395,7 @@ public interface GL20 {
|
|||||||
|
|
||||||
public void glDisableVertexAttribArray(int index);
|
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);
|
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,
|
public void glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride,
|
||||||
Buffer ptr);
|
Buffer ptr);
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
public void glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride,
|
public void glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride,
|
||||||
int ptr);
|
int offset);
|
||||||
|
|
||||||
//------------------------
|
//------------------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user