Skip to content

Commit

Permalink
Update AudioMacros.h (#20514)
Browse files Browse the repository at this point in the history
Fix to compile with Visual Studio 2019.
Ricardo.
  • Loading branch information
makiolo authored May 11, 2020
1 parent 7157fad commit 674bb71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cocos/audio/win32/AudioMacros.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void audioLog(const char * format, ...);
#if defined(COCOS2D_DEBUG) && COCOS2D_DEBUG > 0
#define CHECK_AL_ERROR_DEBUG() \
do { \
GLenum __error = alGetError(); \
ALenum __error = alGetError(); \
if (__error) { \
ALOGE("OpenAL error 0x%04X in %s %s %d\n", __error, __FILE__, __FUNCTION__, __LINE__); \
} \
Expand Down

0 comments on commit 674bb71

Please sign in to comment.