I am working on a network game using cocos2dx with libcurl.
I created a CCLabelTTF on a CCLayer object.
Then I made a thread to request my php server using curl.
when a get response from the thread, I want to print a string on the CCLabelTTF.
I call setString , finally it become a white rectangle.
And I found that will only happen when I call it from a thread.