Update GLRenderer.java

define_list_fix
TehLeo 8 years ago committed by GitHub
parent 7693e785c2
commit 85f1e6ab46
  1. 4
      jme3-core/src/main/java/com/jme3/renderer/opengl/GLRenderer.java

@ -299,6 +299,10 @@ public final class GLRenderer implements Renderer {
caps.add(Caps.FloatTexture); caps.add(Caps.FloatTexture);
} }
// integer texture format extensions
if(hasExtension("GL_EXT_texture_integer") || caps.contains(Caps.OpenGL30))
caps.add(Caps.IntegerTexture);
if (hasExtension("GL_OES_depth_texture") || gl2 != null) { if (hasExtension("GL_OES_depth_texture") || gl2 != null) {
caps.add(Caps.DepthTexture); caps.add(Caps.DepthTexture);

Loading…
Cancel
Save