Skip to content

Commit e0564d6

Browse files
authored
openal / fix build when using OPENAL_DEBUG=1 (#26274)
1 parent efa2897 commit e0564d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib/libopenal.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ var LibraryOpenAL = {
760760
return AL.currentCtx.distanceModel;
761761
default:
762762
#if OPENAL_DEBUG
763-
dbg(`${funcname}() param ${ptrToString(param} is unknown or not implemented`);
763+
dbg(`${funcname}() param ${ptrToString(param)} is unknown or not implemented`);
764764
#endif
765765
AL.currentCtx.err = {{{ cDefs.AL_INVALID_ENUM }}};
766766
return null;
@@ -2364,7 +2364,7 @@ var LibraryOpenAL = {
23642364
23652365
default:
23662366
#if OPENAL_DEBUG
2367-
dbg(`No value for `${pEnumName}` is known by alcGetEnumValue()`);
2367+
dbg(`No value for '${pEnumName}' is known by alcGetEnumValue()`);
23682368
#endif
23692369
AL.alcErr = {{{ cDefs.ALC_INVALID_VALUE }}};
23702370
return {{{ cDefs.AL_NONE }}};
@@ -2999,7 +2999,7 @@ var LibraryOpenAL = {
29992999
30003000
default:
30013001
#if OPENAL_DEBUG
3002-
dbg(`No value for `${name}` is known by alGetEnumValue()`);
3002+
dbg(`No value for '${name}' is known by alGetEnumValue()`);
30033003
#endif
30043004
AL.currentCtx.err = {{{ cDefs.AL_INVALID_VALUE }}};
30053005
return 0;

0 commit comments

Comments
 (0)