diff options
author | Timothy Arceri <[email protected]> | 2018-09-05 15:18:04 +1000 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-06-28 15:41:21 -0400 |
commit | 76e25edf6afc21e427d7e2e7e58457ed4194169e (patch) | |
tree | dc35f1f675a7e1c51fadee123c9f65bd90205396 /src/mapi | |
parent | b5f930ea05fd87500447982b8fd464044c417592 (diff) |
mesa: add support for glUnmapNamedBufferEXT()
Since the ARB DSA function glUnmapNamedBuffer() is only exposed
for 3.1 or above we make glUnmapNamedBuffer() an alias of
glUnmapNamedBufferEXT() rather than the other way around.
Reviewed-by: Marek Olšák <[email protected]>
Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mapi')
-rw-r--r-- | src/mapi/glapi/gen/ARB_direct_state_access.xml | 2 | ||||
-rw-r--r-- | src/mapi/glapi/gen/EXT_direct_state_access.xml | 5 | ||||
-rw-r--r-- | src/mapi/glapi/gen/static_data.py | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/src/mapi/glapi/gen/ARB_direct_state_access.xml b/src/mapi/glapi/gen/ARB_direct_state_access.xml index fa90ffcdd22..84ba14153d1 100644 --- a/src/mapi/glapi/gen/ARB_direct_state_access.xml +++ b/src/mapi/glapi/gen/ARB_direct_state_access.xml @@ -115,7 +115,7 @@ <param name="access" type="GLbitfield" /> </function> - <function name="UnmapNamedBuffer" no_error="true"> + <function name="UnmapNamedBuffer" alias="UnmapNamedBufferEXT" no_error="true"> <return type="GLboolean" /> <param name="buffer" type="GLuint" /> </function> diff --git a/src/mapi/glapi/gen/EXT_direct_state_access.xml b/src/mapi/glapi/gen/EXT_direct_state_access.xml index 1eef0e3c39b..eb5c20dd108 100644 --- a/src/mapi/glapi/gen/EXT_direct_state_access.xml +++ b/src/mapi/glapi/gen/EXT_direct_state_access.xml @@ -174,6 +174,11 @@ <param name="data" type="const GLvoid *" /> </function> + <function name="UnmapNamedBufferEXT"> + <return type="GLboolean" /> + <param name="buffer" type="GLuint" /> + </function> + <!-- OpenGL 3.0 --> <function name="MapNamedBufferRangeEXT"> diff --git a/src/mapi/glapi/gen/static_data.py b/src/mapi/glapi/gen/static_data.py index b938942ec89..5829da0b51e 100644 --- a/src/mapi/glapi/gen/static_data.py +++ b/src/mapi/glapi/gen/static_data.py @@ -1053,7 +1053,7 @@ offsets = { "TextureSubImage3D": 1017, "TransformFeedbackBufferBase": 1018, "TransformFeedbackBufferRange": 1019, - "UnmapNamedBuffer": 1020, + "UnmapNamedBufferEXT": 1020, "VertexArrayAttribBinding": 1021, "VertexArrayAttribFormat": 1022, "VertexArrayAttribIFormat": 1023, |