call to OpenGL ES API with no current context(logged once per thread)
从安卓传回截图保存的地址到quick-cocos2d-x,quick这里想把旧图片替换成新的。提示错误。求大神支招。
Cocos2dxGLSurfaceView.getInstance().queueEvent(new Runnable() {
public void run() {
Cocos2dxLuaJavaBridge.callLuaFunctionWithString(Pic.i, Environment.getExternalStorageDirectory().getAbsolutePath()+"/testImg.png");
//Cocos2dxLuaJavaBridge.releaseLuaFunction(Pic.i);
}
});