summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-09-20 15:14:34 -0700
committerIan Romanick <[email protected]>2011-10-04 12:25:57 -0700
commit43251b970d2d4969b0166aaea50383479a09c3bc (patch)
tree1f2962c4de348e24b64d2af6b1cdd8b11d755fec /src/mesa/main
parent188123ca06a5711057e8c77e81927865e97b72a8 (diff)
mesa/es: Make glDrawBuffersNV available in OpenGL ES 2.0
Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/APIspec.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mesa/main/APIspec.xml b/src/mesa/main/APIspec.xml
index 33029ea5e05..5d5fc03bec7 100644
--- a/src/mesa/main/APIspec.xml
+++ b/src/mesa/main/APIspec.xml
@@ -3512,6 +3512,14 @@
</proto>
</template>
+<template name="DrawBuffers">
+ <proto>
+ <return type="void"/>
+ <param name="n" type="GLsizei"/>
+ <param name="bufs" type="const GLenum *"/>
+ </proto>
+</template>
+
<api name="mesa" implementation="true">
<category name="MESA"/>
@@ -3786,6 +3794,8 @@
<!-- OES_EGL_image -->
<function name="EGLImageTargetTexture2DOES" template="EGLImageTargetTexture2D"/>
<function name="EGLImageTargetRenderbufferStorageOES" template="EGLImageTargetRenderbufferStorage"/>
+
+ <function name="DrawBuffersARB" template="DrawBuffers"/>
</api>
<api name="GLES1.1">
@@ -4117,6 +4127,9 @@
<category name="EXT_multi_draw_arrays"/>
<category name="OES_EGL_image"/>
+ <category name="NV_draw_buffers"/>
+ <function name="DrawBuffersNV" template="DrawBuffers"/>
+
<function name="CullFace" template="CullFace"/>
<function name="FrontFace" template="FrontFace"/>