From 54bf17ce5c591d10bc7a371567b042e5962a1cea Mon Sep 17 00:00:00 2001 From: Julien Gouesse Date: Mon, 24 Jun 2013 19:05:45 +0200 Subject: Requires OpenGL 3.1 to use draw instancing --- .../main/java/com/ardor3d/renderer/jogl/JoglContextCapabilities.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ardor3d-jogl/src/main') diff --git a/ardor3d-jogl/src/main/java/com/ardor3d/renderer/jogl/JoglContextCapabilities.java b/ardor3d-jogl/src/main/java/com/ardor3d/renderer/jogl/JoglContextCapabilities.java index 036f9d3..3516e43 100644 --- a/ardor3d-jogl/src/main/java/com/ardor3d/renderer/jogl/JoglContextCapabilities.java +++ b/ardor3d-jogl/src/main/java/com/ardor3d/renderer/jogl/JoglContextCapabilities.java @@ -76,7 +76,7 @@ public class JoglContextCapabilities extends ContextCapabilities { _geometryShader4Supported = gl.isExtensionAvailable("GL_ARB_geometry_shader4") && _glslSupported; _geometryInstancingSupported = gl.isExtensionAvailable("GL_EXT_draw_instanced") - || gl.isExtensionAvailable("GL_VERSION_3_0"); + || gl.isExtensionAvailable("GL_VERSION_3_1"); _tessellationShadersSupported = gl.isExtensionAvailable("GL_ARB_tessellation_shader") && _glslSupported; -- cgit v1.2.3