From baeb7d7de865189317ed18590fe7c481f6f2e419 Mon Sep 17 00:00:00 2001 From: "jul..om" Date: Thu, 25 Oct 2012 11:32:32 +0000 Subject: [PATCH] Adds a few missing features into the shader-based renderer relying on JOGL 2.0 git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9890 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/jogl/com/jme3/renderer/jogl/JoglRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/jogl/com/jme3/renderer/jogl/JoglRenderer.java b/engine/src/jogl/com/jme3/renderer/jogl/JoglRenderer.java index 650129fa5..3f56b0eb0 100644 --- a/engine/src/jogl/com/jme3/renderer/jogl/JoglRenderer.java +++ b/engine/src/jogl/com/jme3/renderer/jogl/JoglRenderer.java @@ -2411,7 +2411,7 @@ public class JoglRenderer implements Renderer { } statistics.onMeshDrawn(mesh, lod); -// if (GLContext.getCapabilities().GL_ARB_vertex_array_object){ +// if (gl.isExtensionAvailable("GL_ARB_vertex_array_object")){ // renderMeshVertexArray(mesh, lod, count); // }else{ renderMeshDefault(mesh, lod, count);