aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--alc/hrtf.cpp4
-rw-r--r--alc/logging.h5
-rw-r--r--docs/env-vars.txt3
3 files changed, 2 insertions, 10 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__); \
diff --git a/docs/env-vars.txt b/docs/env-vars.txt
index a973ee81..2b8d5e4d 100644
--- a/docs/env-vars.txt
+++ b/docs/env-vars.txt
@@ -11,9 +11,6 @@ Specifies the amount of logging OpenAL Soft will write out:
1 - Prints out errors only
2 - Prints out warnings and errors
3 - Prints out additional information, as well as warnings and errors
-4 - Same as 3, but also device and context reference count changes. This will
- print out *a lot* of info, and is generally not useful unless you're trying
- to track a reference leak within the library.
ALSOFT_LOGFILE
Specifies a filename that logged output will be written to. Note that the file