diff options
author | Chris Robinson <[email protected]> | 2019-09-08 00:59:10 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-09-08 00:59:10 -0700 |
commit | ec8b56ef3bae5bff16b93b08f9c6cab11b7e53b2 (patch) | |
tree | 39f35a9f6039bfca36f7b50cf03e1f6c3ee18a3e /alc | |
parent | fcb496bb5c8735a9a1efc926bd0caa8657bbaf5e (diff) |
Remove unneeded TRACEREF logging
Diffstat (limited to 'alc')
-rw-r--r-- | alc/hrtf.cpp | 4 | ||||
-rw-r--r-- | alc/logging.h | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/alc/hrtf.cpp b/alc/hrtf.cpp index c0e2b982..5a39f686 100644 --- a/alc/hrtf.cpp +++ b/alc/hrtf.cpp @@ -1373,13 +1373,13 @@ HrtfEntry *GetLoadedHrtf(HrtfHandle *handle) void HrtfEntry::IncRef() { auto ref = IncrementRef(this->ref); - TRACEREF("HrtfEntry %p increasing refcount to %u\n", this, ref); + TRACE("HrtfEntry %p increasing refcount to %u\n", this, ref); } void HrtfEntry::DecRef() { auto ref = DecrementRef(this->ref); - TRACEREF("HrtfEntry %p decreasing refcount to %u\n", this, ref); + TRACE("HrtfEntry %p decreasing refcount to %u\n", this, ref); if(ref == 0) { std::lock_guard<std::mutex> _{LoadedHrtfLock}; diff --git a/alc/logging.h b/alc/logging.h index 8a3e75e6..24cfda71 100644 --- a/alc/logging.h +++ b/alc/logging.h @@ -38,11 +38,6 @@ enum LogLevel { }; extern LogLevel gLogLevel; -#define TRACEREF(...) do { \ - if UNLIKELY(gLogLevel >= LogRef) \ - AL_PRINT("(--)", __VA_ARGS__); \ -} while(0) - #define TRACE(...) do { \ if UNLIKELY(gLogLevel >= LogTrace) \ AL_PRINT("(II)", __VA_ARGS__); \ |