aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/state_tracker/st_draw.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-01-15 08:09:32 +0100
committermarha <marha@users.sourceforge.net>2013-01-15 08:09:32 +0100
commit2fe4d492f39a5a5b67c4444805f7b1eaa1e745a9 (patch)
tree4187fe77e92137ba4bcdb59e3c1c00034270f7de /mesalib/src/mesa/state_tracker/st_draw.c
parent2a1abdc8fe640583dac90dc316caf2d40b9ee4e2 (diff)
downloadvcxsrv-2fe4d492f39a5a5b67c4444805f7b1eaa1e745a9.tar.gz
vcxsrv-2fe4d492f39a5a5b67c4444805f7b1eaa1e745a9.tar.bz2
vcxsrv-2fe4d492f39a5a5b67c4444805f7b1eaa1e745a9.zip
mesa fontconfig xkeyboard-config git update 15 jan 2013
mesa: 1c9833ba70466906d3d2ad3aee6a10642a39abdd fontconfig: 8b8f0d21534aa9b82276815c84429ffca8941d2a xkeyboard-config: 89f25045cb14ff9f08a047494a0d5966f2c1727d
Diffstat (limited to 'mesalib/src/mesa/state_tracker/st_draw.c')
-rw-r--r--mesalib/src/mesa/state_tracker/st_draw.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/mesalib/src/mesa/state_tracker/st_draw.c b/mesalib/src/mesa/state_tracker/st_draw.c
index 7de2bb9b8..de539ca5a 100644
--- a/mesalib/src/mesa/state_tracker/st_draw.c
+++ b/mesalib/src/mesa/state_tracker/st_draw.c
@@ -48,6 +48,7 @@
#include "st_atom.h"
#include "st_cb_bufferobjects.h"
#include "st_cb_xformfb.h"
+#include "st_debug.h"
#include "st_draw.h"
#include "st_program.h"
@@ -254,6 +255,14 @@ st_draw_vbo(struct gl_context *ctx,
info.max_index = info.start + info.count - 1;
}
+ if (ST_DEBUG & DEBUG_DRAW) {
+ debug_printf("st/draw: mode %s start %u count %u indexed %d\n",
+ u_prim_name(info.mode),
+ info.start,
+ info.count,
+ info.indexed);
+ }
+
if (info.count_from_stream_output) {
cso_draw_vbo(st->cso_context, &info);
}