diff options
Diffstat (limited to 'src/demos/vertexProgWarp')
-rw-r--r-- | src/demos/vertexProgWarp/VertexProgWarp.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/vertexProgWarp/VertexProgWarp.java b/src/demos/vertexProgWarp/VertexProgWarp.java index 3361755..bacecab 100644 --- a/src/demos/vertexProgWarp/VertexProgWarp.java +++ b/src/demos/vertexProgWarp/VertexProgWarp.java @@ -150,7 +150,7 @@ public class VertexProgWarp { for(int i=0; i<NUM_PROGS; i++) { int[] vtxProgTmp = new int[1]; - gl.glGenProgramsARB(1, vtxProgTmp); + gl.glGenProgramsARB(1, vtxProgTmp, 0); programs[i] = vtxProgTmp[0]; gl.glBindProgramARB(GL.GL_VERTEX_PROGRAM_ARB, programs[i]); gl.glProgramStringARB(GL.GL_VERTEX_PROGRAM_ARB, GL.GL_PROGRAM_FORMAT_ASCII_ARB, programTexts[i].length(), programTexts[i]); |