argv.next(i).set(arg);
argv.next(i).set(arg);
argv.next(i).set(arg);
public void glShaderSource(int shader, String source) { BytePtr.BytePtrPtr sources = Struct.allocate(BytePtr.BytePtrPtr.class, 1); sources.next(0).set(BytePtr.toBytePtrAsciiZ(source)); OpenGLES.glShaderSource(shader, 1, sources, null); } public void glStencilFunc(int func, int ref, int mask) {
@Override public void glShaderSource(int shader, String source) { BytePtr.BytePtrPtr sources = Struct.allocate(BytePtr.BytePtrPtr.class, 1); sources.next(0).set(BytePtr.toBytePtrAsciiZ(source)); OpenGLES.glShaderSource(shader, 1, sources, null); } @Override public void glStencilFunc(int func, int ref, int mask) {