diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-11-25 15:58:22 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-11-25 15:58:22 +0000 |
commit | b65bc4f87b356cf6228151cd2f341432e80dc6b8 (patch) | |
tree | 208918293c838bb8c86c59cb266b621def3ac2d7 /src/mesa/main/mtypes.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/mtypes.h')
-rw-r--r-- | src/mesa/main/mtypes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 012667a2ab..d451cc8985 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2263,9 +2263,11 @@ extern const char *_mesa_prim_name[GL_POLYGON+4]; #ifdef MESA_DEBUG extern int MESA_VERBOSE; extern int MESA_DEBUG_FLAGS; +# define MESA_FUNCTION __FUNCTION__ #else # define MESA_VERBOSE 0 # define MESA_DEBUG_FLAGS 0 +# define MESA_FUNCTION "a function" # ifndef NDEBUG # define NDEBUG # endif |