DXGL r936 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r935‎ | r936 | r937 >
Date:11:40, 16 August 2019
Author:admin
Status:new
Tags:
Comment:
Fix TRACE_RET
Modified paths:
  • /ddraw/trace.h (modified) (history)

Diff [purge]

Index: ddraw/trace.h
@@ -36,7 +36,7 @@
3737 void trace_var(const char *function, const char *var, int argtype, void *arg);
3838 void trace_string(const char *str);
3939 void trace_sysinfo();
40 -#define TRACE_RET(type, argtype, arg) if(dxglcfg.DebugTraceLevel > 3) \
 40+#define TRACE_RET(type, argtype, arg) if(dxglcfg.DebugTraceLevel >= 3) \
4141 return (type)trace_ret(__FUNCTION__,argtype,(void*)arg); \
4242 else return arg;
4343