Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
<param name="length" type="GLsizeiptr"/>
</function>
- <function name="InvalidateBufferData">
+ <function name="InvalidateBufferData" no_error="true">
<param name="buffer" type="GLuint"/>
</function>
invalidate_buffer_subdata(ctx, bufObj, offset, length);
}
+void GLAPIENTRY
+_mesa_InvalidateBufferData_no_error(GLuint buffer)
+{
+ GET_CURRENT_CONTEXT(ctx);
+
+ struct gl_buffer_object *bufObj =_mesa_lookup_bufferobj(ctx, buffer);
+ invalidate_buffer_subdata(ctx, bufObj, 0, bufObj->Size);
+}
+
void GLAPIENTRY
_mesa_InvalidateBufferData(GLuint buffer)
{
_mesa_InvalidateBufferSubData(GLuint buffer, GLintptr offset,
GLsizeiptr length);
+void GLAPIENTRY
+_mesa_InvalidateBufferData_no_error(GLuint buffer);
+
void GLAPIENTRY
_mesa_InvalidateBufferData(GLuint buffer);