mirror of https://github.com/axmolengine/axmol.git
android rename ShaderCahe to GLProgramCache
This commit is contained in:
parent
63c7c6a05c
commit
d46729862c
|
@ -28,7 +28,7 @@ THE SOFTWARE.
|
|||
#include "CCEventCustom.h"
|
||||
#include "CCEventType.h"
|
||||
#include "CCGLView.h"
|
||||
#include "CCShaderCache.h"
|
||||
#include "CCGLProgramCache.h"
|
||||
#include "CCTextureCache.h"
|
||||
#include "platform/android/jni/JniHelper.h"
|
||||
#include <android/log.h>
|
||||
|
@ -68,7 +68,7 @@ void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit(JNIEnv* env, jobject thi
|
|||
else
|
||||
{
|
||||
cocos2d::GL::invalidateStateCache();
|
||||
cocos2d::ShaderCache::getInstance()->reloadDefaultShaders();
|
||||
cocos2d::GLProgramCache::getInstance()->reloadDefaultGLPrograms();
|
||||
cocos2d::DrawPrimitives::init();
|
||||
cocos2d::VolatileTextureMgr::reloadAllTextures();
|
||||
|
||||
|
|
|
@ -141,7 +141,7 @@ renderer/CCGroupCommand.cpp \
|
|||
renderer/CCQuadCommand.cpp \
|
||||
renderer/CCRenderCommand.cpp \
|
||||
renderer/CCRenderer.cpp \
|
||||
renderer/CCShaderCache.cpp \
|
||||
renderer/CCGLProgramCache.cpp \
|
||||
renderer/CCShaders.cpp \
|
||||
deprecated/CCArray.cpp \
|
||||
deprecated/CCSet.cpp \
|
||||
|
|
Loading…
Reference in New Issue