Update GLRenderer.java

This commit is contained in:
TehLeo 2016-11-12 18:51:14 +01:00 committed by GitHub
parent 7693e785c2
commit 85f1e6ab46

View File

@ -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);