瀏覽代碼

Merge pull request #261 from greenfire27/Alx-Error-Fix

Corrects Default Error Report for Audio.cc
Peter Robinson 10 年之前
父節點
當前提交
ed29f79914
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      engine/source/audio/audio.cc

+ 1 - 1
engine/source/audio/audio.cc

@@ -2188,7 +2188,7 @@ bool alxCheckError(const char* sourceFuncName, const char* alFuncName)
       Con::errorf("%s - %s OpenAL AL_OUT_OF_MEMORY error code returned", sourceFuncName, alFuncName);
       break;
     default:
-      Con::errorf("%s - %s OpenAL has encountered a problem and won't tell us what it is. %d", errorVal, sourceFuncName, alFuncName);
+      Con::errorf("%s - %s OpenAL has encountered a problem and won't tell us what it is. %d", sourceFuncName, alFuncName, errorVal);
   };
   if (errorVal == AL_NO_ERROR)
     return true;