aboutsummaryrefslogtreecommitdiffstats
path: root/alsoftrc.sample
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-05-24 08:43:14 -0700
committerChris Robinson <[email protected]>2023-05-24 08:43:14 -0700
commit49de6777205822816521bd136312dd24a0cf2512 (patch)
tree33fc2e304aea7314a509b8d6093c8e5363e22c42 /alsoftrc.sample
parent4bfbdbf62dee4cf6c8658da9f2872f5d5e98eddb (diff)
Add a compat option to change the error value with no context
Diffstat (limited to 'alsoftrc.sample')
-rw-r--r--alsoftrc.sample9
1 files changed, 9 insertions, 0 deletions
diff --git a/alsoftrc.sample b/alsoftrc.sample
index 2906cca4..651f605b 100644
--- a/alsoftrc.sample
+++ b/alsoftrc.sample
@@ -638,6 +638,15 @@
##
[game_compat]
+## default-error: (global)
+# An error value returned by alGetError when there's no current context. The
+# default value is AL_INVALID_OPERATION, which lets the caller know the
+# operation could not be executed. Some applications may erroneously call
+# alGetError without a current context and expect 0 (AL_NO_ERROR), however
+# that may cause other applications to think earlier AL calls succeeded when
+# they actually failed.
+#default-error = 0xA004
+
## nfc-scale: (global)
# A meters-per-unit distance scale applied to NFC filters. If a game doesn't
# use real-world meters for in-game units, the filters may create a too-near