Module: Mesa
Branch: master
Commit: 3eb2b5c5e4e98b18844a90c93afad7b56f82269b
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3eb2b5c5e4e98b18844a90c93afad7b56f82269b

Author: Brian Paul <[email protected]>
Date:   Thu Aug  2 09:40:40 2012 -0600

mesa: default_access_mode() returns a GLbitfield, not GLenum

---

 src/mesa/main/bufferobj.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
index 7d72092..c7c21fb 100644
--- a/src/mesa/main/bufferobj.c
+++ b/src/mesa/main/bufferobj.c
@@ -131,7 +131,7 @@ get_buffer(struct gl_context *ctx, const char *func, GLenum 
target)
 }
 
 
-static inline GLenum
+static inline GLbitfield
 default_access_mode(const struct gl_context *ctx)
 {
    /* Table 2.6 on page 31 (page 44 of the PDF) of the OpenGL 1.5 spec says:

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to