Skip to content

Conversation

@alteredq
Copy link

Non-square DDS textures were throwing GL warnings in Chrome console due to having fractional width / height for some mipmap levels.

This fix limits mipmap width / height sizes to a minimum of 1.

This was causing tons of GL warnings thrown into Chrome console due to getting fractional width / height when texture wasn't square.
@inolen
Copy link

inolen commented Nov 2, 2012

I just ran into this problem and came here to post effectively the same patch 👍

@conordickinson
Copy link

A similar fix needs to be implemented inside crn.cpp for crn_get_uncompressed_size and crn_decompress, which of course then needs to be recompiled into crn_decomp.js

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

Successfully merging this pull request may close these issues.

3 participants