aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen/ARB_framebuffer_object.xml
diff options
context:
space:
mode:
authorLaura Ekstrand <[email protected]>2015-03-02 16:48:59 -0800
committerFredrik Höglund <[email protected]>2015-05-14 15:48:13 +0200
commit085c67dc77ab3c00d3f68ba52f8343f8ff0cab53 (patch)
tree39f3e55c960530d1788d7e684e008c37aac7c537 /src/mapi/glapi/gen/ARB_framebuffer_object.xml
parentd78c831a147e8af6f6fc1a610f4c2e490e75fad1 (diff)
main: Major refactor of get_texture_for_framebuffer.
This splits off the (still) rather large chunk that is get_texture_for_framebuffer into lots of smaller functions specialized to service the wide variety of unique needs of *FramebufferTexture* entry points. The result is much cleaner because, rather than having a pile of branches and confusing conditions (like the boolean layered), the uniqueness is baked into the entry points. The entry points know whether or not they are layered or use a textarget. [Fredrik: - Mention the value of <textarget> in the error message. - Rename check_zoffset to check_layer, and zoffset to layer. The zoffset parameter was renamed to layer in ARB_framebuffer_object. - Make layered a GLboolean since the value is visible to the API. - Remove EXT suffixes in refactored code. - Whitespace fixes.] Reviewed-by: Fredrik Höglund <[email protected]> Signed-off-by: Fredrik Höglund <[email protected]>
Diffstat (limited to 'src/mapi/glapi/gen/ARB_framebuffer_object.xml')
-rw-r--r--src/mapi/glapi/gen/ARB_framebuffer_object.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/ARB_framebuffer_object.xml b/src/mapi/glapi/gen/ARB_framebuffer_object.xml
index 7c547c16742..999a8ef13ad 100644
--- a/src/mapi/glapi/gen/ARB_framebuffer_object.xml
+++ b/src/mapi/glapi/gen/ARB_framebuffer_object.xml
@@ -247,7 +247,7 @@
<param name="textarget" type="GLenum"/>
<param name="texture" type="GLuint"/>
<param name="level" type="GLint"/>
- <param name="zoffset" type="GLint"/>
+ <param name="layer" type="GLint"/>
<glx rop="4323"/>
</function>