mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-06 05:53:08 +00:00
Suppress technically accurate but annoying warning about unused member
This commit is contained in:
1 parent
ec356da027
commit
7fe45cee05
1 file changed
+1
@@ -69,6 +69,7 @@ AMDCounters::AMDCounters(bool dx12DebugLayerEnabled)
|
||||
bool AMDCounters::Init(ApiType apiType, void *pContext)
|
||||
{
|
||||
#if DISABLED(RDOC_WIN32) && DISABLED(RDOC_LINUX)
|
||||
(void)m_dx12DebugLayerEnabled;
|
||||
return false;
|
||||
#else
|
||||
|
||||
|
||||
Reference in new issue
Block a user