0

I just upgraded my project from Kobold2d 1.1.2 to 2.0.4 and now every time I try to build I get this message.

*** Assertion failure in -[CCTexture2D setTexParameters:], /Desktop Items/Kobold2D/Kobold2D-2.0.4/__Kobold2D__/libs/cocos2d-iphone/cocos2d/CCTexture2D.m:856
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'GL_CLAMP_TO_EDGE should be used in NPOT dimensions'

I know that it is basicly telling my that my images are not a power of 2, but there is the same NSASERT in the older version of kobold2d and everything passes just fine.

Stephen
  • 499
  • 9
  • 28

1 Answers1

0

The magic words are:

CCConfiguration.m:
// around line 122  
supportsNPOT_ = NO; // before it said YES