Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change WARNING: Image is flipped. Regenerate it using PVRTexTool #1215

Closed
lrrrs opened this issue Feb 4, 2015 · 1 comment
Closed

Change WARNING: Image is flipped. Regenerate it using PVRTexTool #1215

lrrrs opened this issue Feb 4, 2015 · 1 comment

Comments

@lrrrs
Copy link

lrrrs commented Feb 4, 2015

Since 3.1 you have to use flipped PVR textures (Took me quite a while to figure out...),
but when you use them you get a warning that's confusing:

CCTexturePVR.m:

if( flipped )
CCLOGWARN(@"cocos2d: WARNING: Image is flipped. Regenerate it using PVRTexTool");

This needs to be changed into the opposite:

if( !flipped )
CCLOGWARN(@"cocos2d: WARNING: Image is NOT flipped. Regenerate it using PVRTexTool");

This way I would have found the issue way earlier. So please think of other developers which will run into the same "strange" issues ;)

@s1ddok
Copy link
Contributor

s1ddok commented Feb 26, 2016

Edited warning in 3.5

@s1ddok s1ddok closed this as completed Feb 26, 2016
s1ddok pushed a commit that referenced this issue Feb 26, 2016
s1ddok added a commit that referenced this issue Nov 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants