Migration to Cocos 2.2 Problem

Migration to Cocos 2.2 Problem
0.0 0


I trying to update cocos-based Win8 game to use latest cocos version.

In game existing code, there is use of the following API:


In current cocos version, it seems that CCEGLView object changed and there is no “D3DClearColor” method anymore there. Question: what’s the alternative in the current(2.2) cocos version?

Thank you


In 2.2, you don’t need to call any d3d API directly. Maybe glClear() glClearColor() works as expects.