Skip to content

Commit 674bb71

Browse files
authored
Update AudioMacros.h (cocos2d#20514)
Fix to compile with Visual Studio 2019. Ricardo.
1 parent 7157fad commit 674bb71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cocos/audio/win32/AudioMacros.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ void audioLog(const char * format, ...);
5151
#if defined(COCOS2D_DEBUG) && COCOS2D_DEBUG > 0
5252
#define CHECK_AL_ERROR_DEBUG() \
5353
do { \
54-
GLenum __error = alGetError(); \
54+
ALenum __error = alGetError(); \
5555
if (__error) { \
5656
ALOGE("OpenAL error 0x%04X in %s %s %d\n", __error, __FILE__, __FUNCTION__, __LINE__); \
5757
} \

0 commit comments

Comments
 (0)