i have to add "#define DIST_CAMERA_3D xxx" to mp_wrap.h,and it works
- Code: Select all
#if (CC_TARGET_PLATFORM==CC_PLATFORM_IOS) || (CC_TARGET_PLATFORM==CC_PLATFORM_ANDROID)
#define internalformat GL_RGBA
#define DIST_CAMERA_3D -2520 //(added)
#else
#define internalformat GL_RGBA8
#define DIST_CAMERA_3D -840 //(added)
#endif