X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fconsole.cpp;h=2b4df37b2995958b83b4d2e30bedf760d5b723fa;hb=99199c39ed744bf40e3fa60e26ba64c29c014ddc;hp=c972a231194915fff73a1fee2c0ebc94a4106380;hpb=4de64a3362ada35f8a6991ff4dcf5e5e38c1b5d6;p=supertux.git diff --git a/src/console.cpp b/src/console.cpp index c972a2311..2b4df37b2 100644 --- a/src/console.cpp +++ b/src/console.cpp @@ -494,13 +494,6 @@ Console::draw(DrawingContext& context) if (py < -9) break; context.draw_text(font.get(), *i, Vector(4, py), LEFT_ALLIGN, layer); } - - //add some light. Problem: can be abused as lightsource. - context.push_target(); - context.set_target(DrawingContext::LIGHTMAP); - context.draw_filled_rect( Vector( 0 ,0 ), Vector( SCREEN_WIDTH, height), Color( 1, 1, 1) , layer ); - context.pop_target(); - context.pop_transform(); }