Fix:CEGUI:Forces the use of Silly image codec (instead of Devil)
authorkazer_ <kazer_@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Thu, 7 Feb 2008 15:58:59 +0000 (15:58 +0000)
committerkazer_ <kazer_@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Thu, 7 Feb 2008 15:58:59 +0000 (15:58 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit@851 ffa7fe5e-494d-0410-b361-a75ebd5db220

src/gui/sdl/gui_sdl_window.cpp

index 9c5505d..be30ee1 100644 (file)
@@ -560,8 +560,10 @@ static void init_sdlgui(char * skin_layout,int fullscreen,int tilt)
        
        try
        {
+               dbg(0, "Forcing silly image codec\n");
+               CEGUI::OpenGLRenderer::setDefaultImageCodecName("SILLYImageCodec");
                CEGUI::System::setDefaultXMLParserName(CEGUI::String("TinyXMLParser"));
-               dbg(1, "Using %s as the default CEGUI XML Parser\n", CEGUI::System::getDefaultXMLParserName().c_str());
+               dbg(0, "Using %s as the default CEGUI XML Parser\n", CEGUI::System::getDefaultXMLParserName().c_str());
                renderer = new CEGUI::OpenGLRenderer(0,XRES,YRES);
                new CEGUI::System(renderer);