From 346a059ee2c98fee814df51b560bbde7e6b733db Mon Sep 17 00:00:00 2001 From: frank <420@shampoo.ooo> Date: Thu, 22 Sep 2022 17:21:53 -0400 Subject: [PATCH] log statements from texture load changed from info to debug level --- src/Texture.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Texture.cpp b/src/Texture.cpp index 965fbdf..40b1353 100644 --- a/src/Texture.cpp +++ b/src/Texture.cpp @@ -97,7 +97,7 @@ void Texture::load(SDL_Surface* surface) { message << "Loading image from SDL surface (" << surface->w << "×" << surface->h << ", " << SDL_GetPixelFormatName(surface->format->format) << ")"; load(surface->pixels, {surface->w, surface->h}, GL_RGBA, GL_UNSIGNED_BYTE); - message_level = sb::Log::INFO; + message_level = sb::Log::DEBUG; } else { @@ -120,7 +120,7 @@ void Texture::load(void* pixels, glm::vec2 size, GLenum format, GLenum type) bind(); glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, size.x, size.y, format, type, pixels); message << "Loaded " << size.x << "×" << size.y << " image into texture ID " << id(); - message_level = sb::Log::INFO; + message_level = sb::Log::DEBUG; } else {