From 2daa4137b658569da542180442fc32ebc5608102 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 31 Oct 2004 00:17:42 +0000 Subject: Remove redundant error checking. Added _mesa_buffer_unmap(). Minor clean-ups. --- src/mesa/main/bufferobj.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/bufferobj.h') diff --git a/src/mesa/main/bufferobj.h b/src/mesa/main/bufferobj.h index e6bd8b329a7..635975d2f7d 100644 --- a/src/mesa/main/bufferobj.h +++ b/src/mesa/main/bufferobj.h @@ -1,6 +1,6 @@ /* * Mesa 3-D graphics library - * Version: 6.1 + * Version: 6.3 * * Copyright (C) 1999-2004 Brian Paul All Rights Reserved. * @@ -73,6 +73,9 @@ extern void * _mesa_buffer_map( GLcontext *ctx, GLenum target, GLenum access, struct gl_buffer_object * bufObj ); +extern GLboolean +_mesa_buffer_unmap( GLcontext *ctx, GLenum target, + struct gl_buffer_object * bufObj ); extern GLboolean _mesa_validate_pbo_access(const struct gl_pixelstore_attrib *pack, -- cgit v1.2.3