summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/bufferobj.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-10-31 00:17:42 +0000
committerBrian Paul <[email protected]>2004-10-31 00:17:42 +0000
commit2daa4137b658569da542180442fc32ebc5608102 (patch)
tree957d05c743efb00315695c0ca8d9b61fe038d873 /src/mesa/main/bufferobj.h
parent9ae96a5ce833ab3a65979ca9bedba06687d59c44 (diff)
Remove redundant error checking.
Added _mesa_buffer_unmap(). Minor clean-ups.
Diffstat (limited to 'src/mesa/main/bufferobj.h')
-rw-r--r--src/mesa/main/bufferobj.h5
1 files changed, 4 insertions, 1 deletions
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,