Skip to content

Commit

Permalink
Make texture size warning format consistent with the rest of the warn…
Browse files Browse the repository at this point in the history
…ing sizes
  • Loading branch information
stuarthayhurst committed Dec 28, 2023
1 parent d9cb291 commit e63851a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ammonite/graphics/textures.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ namespace ammonite {
GLint maxTextureSize = 0;
glGetIntegerv(GL_MAX_TEXTURE_SIZE, &maxTextureSize);
if (width > maxTextureSize || height > maxTextureSize) {
ammonite::utils::warning << "Attempted to load texture of unsupported size (" << width << "x" << height << ")" << std::endl;
ammonite::utils::warning << "Attempted to load texture of unsupported size (" << width << " x " << height << ")" << std::endl;
ammonite::utils::warning << "Failed to load texture '" << texturePath << "'" << std::endl;
stbi_image_free(data);
*externalSuccess = false;
Expand Down

0 comments on commit e63851a

Please sign in to comment.