From 2f2633ec91bc110aa92f704c5cf9141402101a7b Mon Sep 17 00:00:00 2001 From: HALX99 Date: Tue, 26 Nov 2019 03:07:55 +0800 Subject: [PATCH] fix typo, GLenum to ALenum --- cocos/audio/include/AudioMacros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/audio/include/AudioMacros.h b/cocos/audio/include/AudioMacros.h index 46f6d2f078..61b020f42b 100644 --- a/cocos/audio/include/AudioMacros.h +++ b/cocos/audio/include/AudioMacros.h @@ -62,7 +62,7 @@ #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__); \ } \