Found with MinGW optimized build.
---
 src/mesa/main/bufferobj.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
index 2da2128..0b98483 100644
--- a/src/mesa/main/bufferobj.c
+++ b/src/mesa/main/bufferobj.c
@@ -3287,6 +3287,7 @@ get_map_buffer_access_flags(struct gl_context *ctx, 
GLenum access,
       *flags = GL_MAP_READ_BIT | GL_MAP_WRITE_BIT;
       return _mesa_is_desktop_gl(ctx);
    default:
+      *flags = 0;
       return false;
    }
 }
-- 
1.9.1

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to