From 56b0856541446cbafee4eed9ef0ee9fb69af565a Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 8 Aug 2008 22:17:29 +0000 Subject: improved truster indicator, impulse engine sounds --- src/client/video.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/client/video.cc') 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; -- cgit v1.2.3