We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
Sprite will become white block when using CCControlSwitch
Sprite will become white block when using CCControlSwitch
Hi,
i fixed it this way ..
void CCSprite::setDisplayFrame(CCSpriteFrame *pNewFrame)
{
m_obUnflippedOffsetPositionFromCenter = pNewFrame~~>getOffset;
CCTexture2D *pNewTexture = pNewFrame~~>getTexture();
// update texture before updating texture rect
if (pNewTexture != m_pobTexture)
{
setTexture(pNewTexture);
// 2.1.4 MOD cocos2d-x.org/issues/2359
// shader program
if (pNewTexture)
{
setShaderProgram(CCShaderCache::sharedShaderCache()~~>programForKey);
}
else
{
setShaderProgram~~>programForKey);
}
}
// update rect
m_bRectRotated = pNewFrame~~>isRotated;
setTextureRect, m_bRectRotated, pNewFrame~~>getOriginalSize());
}
Pokerstar88.com Agen Texas Poker Dan Domino Online Indonesia Terpercaya
OK, I’ve updated the announcement and added a link to zipball on google code. Thank you for reminding me.
Agen Indonesia | Agen Bola | Poker Indonesia
The optimization introduces a bug where the priority and Touch Mode will not get changed if the list is locked.
The most straight forward fix is to merge the pHandlersToAdd and pHandlersToRemove into a queue and process through all of them in the order they are received
Pokerstar88.com Agen Texas Poker dan Domino Online Indonesia Terpercaya | Agen Bola | Taruhan Bola | Agen Bola | Olb365.com Agen Judi Bola Online, Agen Judi Casino Online Indonesia Terpercaya | Jasa SEO
Status: | Closed | |
---|---|---|
Start date: | 2013-07-02 | |
Priority: | Normal | |
Due date: | ||
Assignee: | ||
% Done: | 100% |
|
Category: | all | |
Target version: | 3.0-alpha0-pre |
steps to reproduce
* run TestCpp
* ExtensionsTest
> CCControlButtonTest> ControlSwitchTestWill trigger OpenGL error on iOS, error code
But the real error caused in CCControlSwitch::draw().