projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9af7ca7
)
Downgrade surface format message from warning to debug
author
Tobias Markus
<tobbi@mozilla-uk.org>
Sat, 7 Mar 2015 20:25:30 +0000
(21:25 +0100)
committer
Tobias Markus
<tobbi@mozilla-uk.org>
Sat, 7 Mar 2015 20:25:30 +0000
(21:25 +0100)
src/video/texture_manager.cpp
patch
|
blob
|
history
diff --git
a/src/video/texture_manager.cpp
b/src/video/texture_manager.cpp
index
f334275
..
dc38be9
100644
(file)
--- a/
src/video/texture_manager.cpp
+++ b/
src/video/texture_manager.cpp
@@
-151,7
+151,7
@@
TextureManager::create_image_texture_raw(const std::string& filename, const Rect
SDL_PixelFormat* format = image->format;
if(format->Rmask == 0 && format->Gmask == 0 && format->Bmask == 0 && format->Amask == 0) {
- log_
warnin
g << "Wrong surface format for image " << filename << ". Compensating." << std::endl;
+ log_
debu
g << "Wrong surface format for image " << filename << ". Compensating." << std::endl;
image = SDL_ConvertSurfaceFormat(image, SDL_PIXELFORMAT_RGBA8888, 0);
}