summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/bufferobj.h
diff options
context:
space:
mode:
authorLaura Ekstrand <[email protected]>2015-01-20 15:24:53 -0800
committerLaura Ekstrand <[email protected]>2015-03-17 10:18:34 -0700
commit23eab47bbe998b95d5da889b85b7b0ca6e14385b (patch)
treeecf9688288c061313b08afd0e9c2420983e9eeb9 /src/mesa/main/bufferobj.h
parent3706ace2446825b9544e45800c0ce1df261a1c30 (diff)
main: Add entry point for GetNamedBufferSubData.
Reviewed-by: Fredrik Höglund <[email protected]>
Diffstat (limited to 'src/mesa/main/bufferobj.h')
-rw-r--r--src/mesa/main/bufferobj.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/bufferobj.h b/src/mesa/main/bufferobj.h
index eee04fe86e9..feeaa8b058e 100644
--- a/src/mesa/main/bufferobj.h
+++ b/src/mesa/main/bufferobj.h
@@ -234,6 +234,10 @@ _mesa_GetBufferSubData(GLenum target, GLintptrARB offset,
GLsizeiptrARB size, void * data);
void GLAPIENTRY
+_mesa_GetNamedBufferSubData(GLuint buffer, GLintptr offset,
+ GLsizeiptr size, GLvoid *data);
+
+void GLAPIENTRY
_mesa_ClearBufferData(GLenum target, GLenum internalformat,
GLenum format, GLenum type,
const GLvoid *data);