<param name="access" type="GLbitfield" />
</function>
- <function name="UnmapNamedBuffer">
+ <function name="UnmapNamedBuffer" no_error="true">
<return type="GLboolean" />
<param name="buffer" type="GLuint" />
</function>
<glx ignore="true"/>
</function>
- <function name="UnmapBuffer" es2="3.0">
+ <function name="UnmapBuffer" es2="3.0" no_error="true">
<param name="target" type="GLenum"/>
<return type="GLboolean"/>
<glx ignore="true"/>
return unmap_buffer(ctx, bufObj);
}
+GLboolean GLAPIENTRY
+_mesa_UnmapBuffer_no_error(GLenum target)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ struct gl_buffer_object **bufObjPtr = get_buffer_target(ctx, target);
+ struct gl_buffer_object *bufObj = *bufObjPtr;
+
+ return unmap_buffer(ctx, bufObj);
+}
+
GLboolean GLAPIENTRY
_mesa_UnmapBuffer(GLenum target)
{
return validate_and_unmap_buffer(ctx, bufObj, "glUnmapBuffer");
}
+GLboolean GLAPIENTRY
+_mesa_UnmapNamedBuffer_no_error(GLuint buffer)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ struct gl_buffer_object *bufObj = _mesa_lookup_bufferobj(ctx, buffer);
+
+ return unmap_buffer(ctx, bufObj);
+}
+
GLboolean GLAPIENTRY
_mesa_UnmapNamedBuffer(GLuint buffer)
{
GLenum format, GLenum type,
const GLvoid *data);
+GLboolean GLAPIENTRY
+_mesa_UnmapBuffer_no_error(GLenum target);
GLboolean GLAPIENTRY
_mesa_UnmapBuffer(GLenum target);
+GLboolean GLAPIENTRY
+_mesa_UnmapNamedBuffer_no_error(GLuint buffer);
GLboolean GLAPIENTRY
_mesa_UnmapNamedBuffer(GLuint buffer);