mirror of https://github.com/axmolengine/axmol.git
Update cocos2dx/include/ccConfig.h
This commit is contained in:
parent
e2140aea0b
commit
5baa19992d
|
@ -165,7 +165,7 @@ Only valid for cocos2d-mac. Not supported on cocos2d-ios.
|
|||
|
||||
*/
|
||||
#ifndef CC_TEXTURE_ATLAS_USE_VAO
|
||||
#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) || (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32)
|
||||
#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS) || (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32) || (CC_TARGET_PLATFORM == CC_PLATFORM_MAC)
|
||||
#define CC_TEXTURE_ATLAS_USE_VAO 1
|
||||
#else
|
||||
/* Some android devices cannot support VAO very well, so we disable it by default for android platform. */
|
||||
|
|
Loading…
Reference in New Issue