Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2868,6 +2868,10 @@ private void updateTexImageData(Image img, Texture.Type type, int unit, boolean
cpuMipmapsGenerated = true;
scaleToPot = false;
img.setMipmapsGenerated(true);
logger.log(Level.WARNING,
"Texture " + img + " requires mipmaps, but the format " + img.getFormat()
+ " does not support hardware mipmap generation."
+ " Falling back to CPU mipmap generation.");
}
} catch (RuntimeException exception) {
cpuMipmapFallbackFailed = true;
Expand Down
Loading