diff options
author | marha <marha@users.sourceforge.net> | 2013-01-15 08:12:01 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2013-01-15 08:12:01 +0100 |
commit | 15cdb95b194cb051a5d469cc9eb73eb0eed4db41 (patch) | |
tree | e95bdde41b08c417f162e21471def49b08fed4fd /mesalib/src/mesa/state_tracker/st_cb_bufferobjects.c | |
parent | 7fbec6dbb6e061fe5b8c592dd602cf4b4c65155a (diff) | |
parent | 2fe4d492f39a5a5b67c4444805f7b1eaa1e745a9 (diff) | |
download | vcxsrv-15cdb95b194cb051a5d469cc9eb73eb0eed4db41.tar.gz vcxsrv-15cdb95b194cb051a5d469cc9eb73eb0eed4db41.tar.bz2 vcxsrv-15cdb95b194cb051a5d469cc9eb73eb0eed4db41.zip |
Merge remote-tracking branch 'origin/released'
* origin/released:
mesa fontconfig xkeyboard-config git update 15 jan 2013
Diffstat (limited to 'mesalib/src/mesa/state_tracker/st_cb_bufferobjects.c')
-rw-r--r-- | mesalib/src/mesa/state_tracker/st_cb_bufferobjects.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mesalib/src/mesa/state_tracker/st_cb_bufferobjects.c b/mesalib/src/mesa/state_tracker/st_cb_bufferobjects.c index cf291c1c1..d5167352c 100644 --- a/mesalib/src/mesa/state_tracker/st_cb_bufferobjects.c +++ b/mesalib/src/mesa/state_tracker/st_cb_bufferobjects.c @@ -38,6 +38,7 @@ #include "st_context.h" #include "st_cb_bufferobjects.h" +#include "st_debug.h" #include "pipe/p_context.h" #include "pipe/p_defines.h" @@ -230,6 +231,10 @@ st_bufferobj_data(struct gl_context *ctx, pipe_resource_reference( &st_obj->buffer, NULL ); + if (ST_DEBUG & DEBUG_BUFFER) { + debug_printf("Create buffer size %lu bind 0x%x\n", size, bind); + } + if (size != 0) { st_obj->buffer = pipe_buffer_create(pipe->screen, bind, pipe_usage, size); |