diff options
author | Kenneth Russel <[email protected]> | 2009-01-12 00:51:20 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2009-01-12 00:51:20 +0000 |
commit | 612955ad82326024f5cb99d9fe4175dce78caa27 (patch) | |
tree | 941c15a6eb8f1c17b739e7a9b73feebedb7d40e9 /src/demos/vertexProgWarp | |
parent | c5cb640a428bf9b6d398616dc542ea529a2036d2 (diff) |
Fixed ArgumentIsString directive for glProgramStringARB (now
glProgramString) and updated demos. Added FIXME to
gl-ignore-gl2_es12-special.cfg about definitions that it seems should
be in the GL interface (such as the GL_ARB_imaging definitions) as
they are replicated in the GL2ES1 and GL2ES2 interfaces.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@315 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
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 7bbb4b3..43a7183 100644 --- a/src/demos/vertexProgWarp/VertexProgWarp.java +++ b/src/demos/vertexProgWarp/VertexProgWarp.java @@ -196,7 +196,7 @@ public class VertexProgWarp extends Demo { programs[i] = vtxProgTmp[0]; gl.glBindProgram(GL2.GL_VERTEX_PROGRAM, programs[i]); gl.glProgramString(GL2.GL_VERTEX_PROGRAM, GL2.GL_PROGRAM_FORMAT_ASCII, programTexts[i].length(), - BufferUtil.newByteBuffer(programTexts[i].getBytes())); + programTexts[i]); } gl.glProgramEnvParameter4f(GL2.GL_VERTEX_PROGRAM, 0, 0.0f, 0.0f, 1.0f, 0.0f); // light position/direction |