diff options
author | Brian Paul <[email protected]> | 2003-11-25 15:58:22 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-11-25 15:58:22 +0000 |
commit | b65bc4f87b356cf6228151cd2f341432e80dc6b8 (patch) | |
tree | 208918293c838bb8c86c59cb266b621def3ac2d7 /src/mesa/main/context.h | |
parent | e749be22b03312c3927964c85d589868e3292977 (diff) |
Remove unnecessary usage of __FUNCTION__.
#define MESA_FUNCTION to __FUNCTION__ if MESA_DEBUG is defined.
Diffstat (limited to 'src/mesa/main/context.h')
-rw-r--r-- | src/mesa/main/context.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/context.h b/src/mesa/main/context.h index 663cfc84500..2687dc596a9 100644 --- a/src/mesa/main/context.h +++ b/src/mesa/main/context.h @@ -278,7 +278,7 @@ _mesa_Flush( void ); #define FLUSH_VERTICES(ctx, newstate) \ do { \ if (MESA_VERBOSE & VERBOSE_STATE) \ - _mesa_debug(ctx, "FLUSH_VERTICES in %s\n", __FUNCTION__); \ + _mesa_debug(ctx, "FLUSH_VERTICES in %s\n", MESA_FUNCTION);\ if (ctx->Driver.NeedFlush & FLUSH_STORED_VERTICES) \ ctx->Driver.FlushVertices(ctx, FLUSH_STORED_VERTICES); \ ctx->NewState |= newstate; \ @@ -297,7 +297,7 @@ do { \ #define FLUSH_CURRENT(ctx, newstate) \ do { \ if (MESA_VERBOSE & VERBOSE_STATE) \ - _mesa_debug(ctx, "FLUSH_CURRENT in %s\n", __FUNCTION__); \ + _mesa_debug(ctx, "FLUSH_CURRENT in %s\n", MESA_FUNCTION); \ if (ctx->Driver.NeedFlush & FLUSH_UPDATE_CURRENT) \ ctx->Driver.FlushVertices(ctx, FLUSH_UPDATE_CURRENT); \ ctx->NewState |= newstate; \ |