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

Author: Jordan Justen <[email protected]>
Date:   Fri Jan  1 16:58:49 2016 -0800

mesa: Fix warning with MESA_VERBOSE=api for BindBufferRange

Reported-by: Dieter Nützel <[email protected]>
Signed-off-by: Jordan Justen <[email protected]>

---

 src/mesa/main/bufferobj.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
index 181eb49..3a05cd5 100644
--- a/src/mesa/main/bufferobj.c
+++ b/src/mesa/main/bufferobj.c
@@ -3914,7 +3914,7 @@ _mesa_BindBufferRange(GLenum target, GLuint index,
    struct gl_buffer_object *bufObj;
 
    if (MESA_VERBOSE & VERBOSE_API) {
-      _mesa_debug(ctx, "glBindBufferRange(%s, %u, %u, %d, %d)\n",
+      _mesa_debug(ctx, "glBindBufferRange(%s, %u, %u, %ld, %ld)\n",
                   _mesa_enum_to_string(target), index, buffer, offset, size);
    }
 

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

Reply via email to