diff options
Diffstat (limited to 'src/mesa/main/dispatch.c')
-rw-r--r-- | src/mesa/main/dispatch.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/mesa/main/dispatch.c b/src/mesa/main/dispatch.c index 5e0f03537b3..0ed24afd30a 100644 --- a/src/mesa/main/dispatch.c +++ b/src/mesa/main/dispatch.c @@ -1,8 +1,8 @@ -/* $Id: dispatch.c,v 1.25 2001/12/04 23:43:31 brianp Exp $ */ +/* $Id: dispatch.c,v 1.26 2001/12/15 16:42:59 brianp Exp $ */ /* * Mesa 3-D graphics library - * Version: 3.5 + * Version: 4.1 * * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. * @@ -66,21 +66,23 @@ #define F stdout #define DISPATCH(FUNC, ARGS, MESSAGE) \ - (_glapi_Dispatch->FUNC) ARGS; \ - fprintf MESSAGE; \ - fprintf(F, "\n"); + fprintf MESSAGE; \ + (_glapi_Dispatch->FUNC) ARGS; + +#define RETURN_DISPATCH(FUNC, ARGS, MESSAGE) \ + fprintf MESSAGE; \ + return (_glapi_Dispatch->FUNC) ARGS #else #define DISPATCH(FUNC, ARGS, MESSAGE) \ (_glapi_Dispatch->FUNC) ARGS; -#endif /* logging */ - - #define RETURN_DISPATCH(FUNC, ARGS, MESSAGE) \ return (_glapi_Dispatch->FUNC) ARGS +#endif /* logging */ + #ifndef GLAPIENTRY #define GLAPIENTRY |