mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d: Disable WARN_ON() when VKD3D_NO_DEBUG_MESSAGES is defined.
Similarly to WARN().
This commit is contained in:
parent
947b937a1a
commit
4c1cc6101f
Notes:
Henri Verbeet
2024-07-29 13:23:46 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Conor McCarthy (@cmccarthy) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/867
@ -122,6 +122,7 @@ VKD3D_NORETURN static inline void vkd3d_unreachable_(const char *filename, unsig
|
|||||||
#ifdef VKD3D_NO_DEBUG_MESSAGES
|
#ifdef VKD3D_NO_DEBUG_MESSAGES
|
||||||
#define WARN(args...) do { } while (0)
|
#define WARN(args...) do { } while (0)
|
||||||
#define FIXME(args...) do { } while (0)
|
#define FIXME(args...) do { } while (0)
|
||||||
|
#define WARN_ON() (false)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
enum vkd3d_dbg_level
|
enum vkd3d_dbg_level
|
||||||
|
Loading…
Reference in New Issue
Block a user