]> git.tdb.fi Git - libs/gl.git/blobdiff - extensions/arb_depth_texture.glext
Make extensions compatible with OpenGL ES
[libs/gl.git] / extensions / arb_depth_texture.glext
index 8b72d00399d414e0d60c707448d139caff942503..16366a03ba166838733632fe2e968d2c58a1b333 100644 (file)
@@ -1,3 +1,14 @@
 extension ARB_depth_texture
-# Deprecated and not particularly useful
+# We are ignoring most tokens in the extension and the remaining one was used
+# for other purposes in earlier versions
+gl:core_version 1.4
+gles2:core_version 3.0
+# Sized depth formats are better accessed through OES_required_internalformat
+ignore GL_DEPTH_COMPONENT16_ARB
+ignore GL_DEPTH_COMPONENT24_ARB
+ignore GL_DEPTH_COMPONENT32_ARB
+# Used to specify color channels to use when sampling depth textures where
+# color samples are expected; deprecated
 ignore GL_DEPTH_TEXTURE_MODE_ARB
+# Texture component size queries are not available on OpenGL ES until 3.1
+ignore GL_TEXTURE_DEPTH_SIZE_ARB