From: kazer_ Date: Wed, 31 Oct 2007 16:43:35 +0000 (+0000) Subject: Reenabled grass background X-Git-Tag: navit-0.5.0.5194svn~4649 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ca9e169d45f6afbe1a7192a31baf20c524ca9633;p=profile%2Fivi%2Fnavit.git Reenabled grass background git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@500 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- diff --git a/navit/src/gui/sdl/gui_sdl_window.cpp b/navit/src/gui/sdl/gui_sdl_window.cpp index cf98f96..3cefbba 100644 --- a/navit/src/gui/sdl/gui_sdl_window.cpp +++ b/navit/src/gui/sdl/gui_sdl_window.cpp @@ -213,7 +213,7 @@ static int gui_run_main_loop(struct gui_priv *this_) gluLookAt(eyeX, eyeY, eyeZ, centerX, centerY, centerZ, upX, upY, upZ); } -/* + // FIXME This is to draw a ground. This is ugly and need to be fixed. Without it, we see the color of sky under the roads. glColor4f(0.0f,0.7f,0.35f,1.0f); glBegin(GL_POLYGON); @@ -222,7 +222,7 @@ static int gui_run_main_loop(struct gui_priv *this_) glVertex3f( 1600,600*2, 0.0f); glVertex3f( 1600,-600*3, 0.0f); glEnd(); -*/ + if(enable_timer) profile(0,"graphics_redraw");