diff options
Diffstat (limited to 'src/demos/vertexBufferObject/VertexBufferObject.java')
-rw-r--r-- | src/demos/vertexBufferObject/VertexBufferObject.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/vertexBufferObject/VertexBufferObject.java b/src/demos/vertexBufferObject/VertexBufferObject.java index 5bd6de6..0bc8b10 100644 --- a/src/demos/vertexBufferObject/VertexBufferObject.java +++ b/src/demos/vertexBufferObject/VertexBufferObject.java @@ -102,7 +102,7 @@ public class VertexBufferObject extends Demo { usage(); } } - GLCapabilities caps = new GLCapabilities(GLProfile.GetProfile(GLProfile.GL2)); + GLCapabilities caps = new GLCapabilities(GLProfile.get(GLProfile.GL2)); GLCanvas canvas = new GLCanvas(caps); VertexBufferObject demo = new VertexBufferObject(); demo.vboEnabled = vboEnabled; |