[client] all: replace assert with DEBUG_ASSERT
This commit is contained in:
1 parent
85a96d1e06
commit
579f998519
12 files changed
+48
-56
No files matched your search
@@ -22,7 +22,6 @@
|
||||
#define _H_I_OVERLAY_
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include "common/types.h"
|
||||
|
||||
@@ -64,9 +63,9 @@ struct LG_OverlayOps
|
||||
};
|
||||
|
||||
#define ASSERT_LG_OVERLAY_VALID(x) \
|
||||
assert((x)->name ); \
|
||||
assert((x)->init ); \
|
||||
assert((x)->free ); \
|
||||
assert((x)->render );
|
||||
DEBUG_ASSERT((x)->name ); \
|
||||
DEBUG_ASSERT((x)->init ); \
|
||||
DEBUG_ASSERT((x)->free ); \
|
||||
DEBUG_ASSERT((x)->render);
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user