]> git.tdb.fi Git - libs/gl.git/blobdiff - extensions/oes_mapbuffer.glext
Make extensions compatible with OpenGL ES
[libs/gl.git] / extensions / oes_mapbuffer.glext
diff --git a/extensions/oes_mapbuffer.glext b/extensions/oes_mapbuffer.glext
new file mode 100644 (file)
index 0000000..184af97
--- /dev/null
@@ -0,0 +1,9 @@
+extension gles2.OES_mapbuffer
+# Whole buffer mapping was not promoted to core in OpenGL ES
+optional glMapBufferOES
+# Because of the above, mapped access cannot be queried on OpenGL ES
+ignore GL_BUFFER_ACCESS_OES
+# Include the access mode enums for desktop OpenGL
+optional GL_READ_ONLY
+optional GL_WRITE_ONLY_OES
+optional GL_READ_WRITE