projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4053ea2
)
Another debug cout disabled
author
Ingo Ruhnke
<grumbel@gmx.de>
Wed, 21 May 2008 20:21:32 +0000
(20:21 +0000)
committer
Ingo Ruhnke
<grumbel@gmx.de>
Wed, 21 May 2008 20:21:32 +0000
(20:21 +0000)
SVN-Revision: 5500
src/video/gl_renderer.cpp
patch
|
blob
|
history
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);
- 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),