Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-02-13 18:29:55 +0000
committerStijn Buys <ingar@osirion.org>2008-02-13 18:29:55 +0000
commitee891311ccc79bbc7837caac8546aac5b9bdf80f (patch)
tree4279b0bec63d2152669b19d1f11199c56ae57b7b /src/client/video.cc
parenta65427370dfe27dfa74efb0bddd44d7ffb9552ac (diff)
camera Overview as spectator only, join works
Diffstat (limited to 'src/client/video.cc')
-rw-r--r--src/client/video.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/video.cc b/src/client/video.cc
index 19555ec..1a1f5e2 100644
--- a/src/client/video.cc
+++ b/src/client/video.cc
@@ -60,13 +60,13 @@ bool init()
int flags = 0;
if( SDL_InitSubSystem(SDL_INIT_VIDEO) < 0 ) {
- std::cerr << "SDL_Init() failed: " << SDL_GetError() << std::endl;
+ con_error << "SDL_InitSubSystem() failed: " << SDL_GetError() << std::endl;
return false;
}
const SDL_VideoInfo* sdl_videoinfo = SDL_GetVideoInfo();
if( !sdl_videoinfo) {
- std::cerr << "SDL_GetVideoInfo() failed: " << SDL_GetError() << std::endl;
+ con_error << "SDL_GetVideoInfo() failed: " << SDL_GetError() << std::endl;
return false;
}