projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Another debug cout disabled
[supertux.git]
/
src
/
video
/
gl_renderer.cpp
diff --git
a/src/video/gl_renderer.cpp
b/src/video/gl_renderer.cpp
index
6a4d609
..
e182988
100644
(file)
--- a/
src/video/gl_renderer.cpp
+++ b/
src/video/gl_renderer.cpp
@@
-637,9
+637,10
@@
Renderer::apply_config()
// Clear so that we get a clean black border without junk
glClear(GL_COLOR_BUFFER_BIT);
// Clear so that we get a clean black border without junk
glClear(GL_COLOR_BUFFER_BIT);
- std::cout << (w-nw)/2 << " "
- << (h-nh)/2 << " "
- << nw << "x" << nh << std::endl;
+ if (0)
+ std::cout << (w-nw)/2 << " "
+ << (h-nh)/2 << " "
+ << nw << "x" << nh << std::endl;
glViewport(std::max(0, (w-nw)/2),
std::max(0, (h-nh)/2),
glViewport(std::max(0, (w-nw)/2),
std::max(0, (h-nh)/2),