summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-10-14 16:24:35 -0600
committerBrian Paul <[email protected]>2009-10-14 19:08:39 -0600
commit2fd5cb713338e91999a036399a4bea4406687ca0 (patch)
tree93b6f2146531339768cd742ad2776d6fe43d3287 /src/mesa/main/context.c
parentf9784072fee016e14e0319c705420becb2490bf9 (diff)
mesa: added VERBOSE_SWAPBUFFERS
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 95ff3495abe..ea1ee228129 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -173,6 +173,8 @@ GLfloat _mesa_ubyte_to_float_color_tab[256];
void
_mesa_notifySwapBuffers(__GLcontext *ctx)
{
+ if (MESA_VERBOSE & VERBOSE_SWAPBUFFERS)
+ _mesa_debug(ctx, "SwapBuffers\n");
FLUSH_CURRENT( ctx, 0 );
if (ctx->Driver.Flush) {
ctx->Driver.Flush(ctx);