diff options
author | Stijn Buys <ingar@osirion.org> | 2008-08-08 22:17:29 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-08-08 22:17:29 +0000 |
commit | 56b0856541446cbafee4eed9ef0ee9fb69af565a (patch) | |
tree | 8cec133fb9b0a02fc2f415c26b69fcd4c6db1ef9 /src/client/video.cc | |
parent | f540e8dac10de8ff443692e78404b1508dde9d1e (diff) |
improved truster indicator, impulse engine sounds
Diffstat (limited to 'src/client/video.cc')
-rw-r--r-- | src/client/video.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/client/video.cc b/src/client/video.cc index 5a4e535..2c1fe6b 100644 --- a/src/client/video.cc +++ b/src/client/video.cc @@ -126,6 +126,9 @@ bool init() return false; } con_print << " video mode " << width << "x" << height << "x" << bpp << "bpp" << std::endl; + +#ifdef HAVE_DEBUG_MESSAGES + int red, green, blue, alpha, depth; SDL_GL_GetAttribute( SDL_GL_RED_SIZE, &red); @@ -135,7 +138,9 @@ bool init() SDL_GL_GetAttribute( SDL_GL_DEPTH_SIZE, &depth); con_debug << " visual r: " << red << " g: " << green << " blue: " << blue << " alpha: " << alpha << " depth: " << depth << std::endl; - + +#endif // HAVE_DEBUG_MESSAGES + render::Camera::set_aspect(width, height); (*r_width) = width; (*r_height) = height; |