[Android] Usage changes: ccGLInvalidateStateCache --> GL::invalidateStateCache();

This commit is contained in:
James Chen 2013-07-26 14:00:10 +08:00
parent 5dca03c061
commit d345ac7f3f
17 changed files with 17 additions and 17 deletions

View File

@ -34,7 +34,7 @@ void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit(JNIEnv* env, jobject thi
}
else
{
ccGLInvalidateStateCache();
GL::invalidateStateCache();
ShaderCache::getInstance()->reloadDefaultShaders();
DrawPrimitives::init();
TextureCache::reloadAllTextures();

View File

@ -34,7 +34,7 @@ void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit(JNIEnv* env, jobject thi
}
else
{
ccGLInvalidateStateCache();
GL::invalidateStateCache();
ShaderCache::getInstance()->reloadDefaultShaders();
DrawPrimitives::init();
TextureCache::reloadAllTextures();

View File

@ -33,7 +33,7 @@ void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit(JNIEnv* env, jobject thi
}
else
{
ccGLInvalidateStateCache();
GL::invalidateStateCache();
ShaderCache::getInstance()->reloadDefaultShaders();
DrawPrimitives::init();
TextureCache::reloadAllTextures();

View File

@ -30,7 +30,7 @@ void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit(JNIEnv* env, jobject thi
}
else
{
ccGLInvalidateStateCache();
GL::invalidateStateCache();
ShaderCache::getInstance()->reloadDefaultShaders();
DrawPrimitives::init();
TextureCache::reloadAllTextures();

View File

@ -32,7 +32,7 @@ void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit(JNIEnv* env, jobject thi
}
else
{
ccGLInvalidateStateCache();
GL::invalidateStateCache();
ShaderCache::getInstance()->reloadDefaultShaders();
DrawPrimitives::init();
TextureCache::reloadAllTextures();

View File

@ -32,7 +32,7 @@ void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit(JNIEnv* env, jobject thi
}
else
{
ccGLInvalidateStateCache();
GL::invalidateStateCache();
ShaderCache::getInstance()->reloadDefaultShaders();
DrawPrimitives::init();
TextureCache::reloadAllTextures();

View File

@ -32,7 +32,7 @@ void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit(JNIEnv* env, jobject thi
}
else
{
ccGLInvalidateStateCache();
GL::invalidateStateCache();
ShaderCache::getInstance()->reloadDefaultShaders();
DrawPrimitives::init();
TextureCache::reloadAllTextures();

View File

@ -32,7 +32,7 @@ void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit(JNIEnv* env, jobject thi
}
else
{
ccGLInvalidateStateCache();
GL::invalidateStateCache();
ShaderCache::getInstance()->reloadDefaultShaders();
DrawPrimitives::init();
TextureCache::reloadAllTextures();

View File

@ -32,7 +32,7 @@ void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit(JNIEnv* env, jobject thi
}
else
{
ccGLInvalidateStateCache();
GL::invalidateStateCache();
ShaderCache::getInstance()->reloadDefaultShaders();
DrawPrimitives::init();
TextureCache::reloadAllTextures();

View File

@ -32,7 +32,7 @@ void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit(JNIEnv* env, jobject thi
}
else
{
ccGLInvalidateStateCache();
GL::invalidateStateCache();
ShaderCache::getInstance()->reloadDefaultShaders();
DrawPrimitives::init();
TextureCache::reloadAllTextures();

View File

@ -32,7 +32,7 @@ void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit(JNIEnv* env, jobject thi
}
else
{
ccGLInvalidateStateCache();
GL::invalidateStateCache();
ShaderCache::getInstance()->reloadDefaultShaders();
DrawPrimitives::init();
TextureCache::reloadAllTextures();

View File

@ -32,7 +32,7 @@ void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit(JNIEnv* env, jobject thi
}
else
{
ccGLInvalidateStateCache();
GL::invalidateStateCache();
ShaderCache::getInstance()->reloadDefaultShaders();
DrawPrimitives::init();
TextureCache::reloadAllTextures();

View File

@ -31,7 +31,7 @@ void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit(JNIEnv* env, jobject thi
}
else
{
ccGLInvalidateStateCache();
GL::invalidateStateCache();
ShaderCache::getInstance()->reloadDefaultShaders();
DrawPrimitives::init();
TextureCache::reloadAllTextures();

View File

@ -32,7 +32,7 @@ void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit(JNIEnv* env, jobject thi
}
else
{
ccGLInvalidateStateCache();
GL::invalidateStateCache();
ShaderCache::getInstance()->reloadDefaultShaders();
DrawPrimitives::init();
TextureCache::reloadAllTextures();

View File

@ -32,7 +32,7 @@ void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit(JNIEnv* env, jobject thi
}
else
{
ccGLInvalidateStateCache();
GL::invalidateStateCache();
ShaderCache::getInstance()->reloadDefaultShaders();
DrawPrimitives::init();
TextureCache::reloadAllTextures();

View File

@ -32,7 +32,7 @@ void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit(JNIEnv* env, jobject thi
}
else
{
ccGLInvalidateStateCache();
GL::invalidateStateCache();
ShaderCache::getInstance()->reloadDefaultShaders();
DrawPrimitives::init();
TextureCache::reloadAllTextures();

View File

@ -32,7 +32,7 @@ void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit(JNIEnv* env, jobject thi
}
else
{
ccGLInvalidateStateCache();
GL::invalidateStateCache();
ShaderCache::getInstance()->reloadDefaultShaders();
DrawPrimitives::init();
TextureCache::reloadAllTextures();