mesa: default_access_mode() returns a GLbitfield, not GLenum
authorBrian Paul <brianp@vmware.com>
Thu, 2 Aug 2012 15:40:40 +0000 (09:40 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 2 Aug 2012 15:40:40 +0000 (09:40 -0600)
src/mesa/main/bufferobj.c

index 7d72092..c7c21fb 100644 (file)
@@ -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: