diff options
author | Kenneth Russel <[email protected]> | 2008-12-16 01:27:52 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2008-12-16 01:27:52 +0000 |
commit | 508e3d6c5948da6838d8288706d4dc16e23c58c3 (patch) | |
tree | 5de351bf5859760e5977018b278d018bb295b767 /src | |
parent | ccf8ebfd0f2677270c2b1573d73f1049b33ffd54 (diff) |
Fixed bug in glMapBuffer native code generation and bug in
VertexBufferObject demo
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@305 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
Diffstat (limited to 'src')
-rw-r--r-- | src/demos/vertexBufferObject/VertexBufferObject.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/vertexBufferObject/VertexBufferObject.java b/src/demos/vertexBufferObject/VertexBufferObject.java index 5b26f8e..b9590cc 100644 --- a/src/demos/vertexBufferObject/VertexBufferObject.java +++ b/src/demos/vertexBufferObject/VertexBufferObject.java @@ -68,7 +68,7 @@ import javax.swing.JOptionPane; <ul> <li> A JDK 1.4 implementation - <li> A card supporting the GL_vertex_buffer_object extension + <li> A card supporting the GL_ARB_vertex_buffer_object extension (only in recent drivers) </ul> @@ -301,7 +301,7 @@ public class VertexBufferObject extends Demo { gl.setSwapInterval(0); try { - initExtension(gl, "GL_vertex_buffer_object"); + initExtension(gl, "GL_ARB_vertex_buffer_object"); } catch (RuntimeException e) { throw (e); } |