mirror of https://github.com/axmolengine/axmol.git
Merge pull request #770 from folecr/fixtexturetest
Fix test to match newer API
This commit is contained in:
commit
b7862393ba
|
@ -213,7 +213,7 @@ void RenderTextureTest::ccTouchesEnded(CCSet* touches, CCEvent* event)
|
|||
if(!touch)
|
||||
break;
|
||||
|
||||
CCPoint location = touch->locationInView(touch->view());
|
||||
CCPoint location = touch->locationInView();
|
||||
|
||||
location = CCDirector::sharedDirector()->convertToGL(location);
|
||||
|
||||
|
|
Loading…
Reference in New Issue