mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-21 21:26:12 +00:00
Drop constexpr from compiled-out debug settings
* This works for everything but rdcstr unfortunately
This commit is contained in:
@@ -66,7 +66,7 @@ CONFIG_SUPPORT_TYPE(rdcarray<rdcstr>);
|
||||
#define RDOC_DEBUG_CONFIG(type, name, defaultValue, description) \
|
||||
static ConfigVarRegistration<type> CONCAT(config, __LINE__)( \
|
||||
STRING_LITERAL(STRINGIZE(name)), defaultValue, true, STRING_LITERAL(description)); \
|
||||
static constexpr type name() { return defaultValue; }
|
||||
static const type name() { return defaultValue; }
|
||||
#else
|
||||
|
||||
#define RDOC_DEBUG_CONFIG(type, name, defaultValue, description) \
|
||||
|
||||
Reference in New Issue
Block a user