Skip to content

Commit

Permalink
Reenabled TitleScreen border, looks a bit terrible in 1280x720, as it…
Browse files Browse the repository at this point in the history
… was designed for 800x600
  • Loading branch information
Grumbel committed Aug 16, 2014
1 parent 6341114 commit db5b2cd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/supertux/title_screen.cpp
Expand Up @@ -119,8 +119,10 @@ TitleScreen::draw(DrawingContext& context)
Sector* sector = titlesession->get_current_sector();
sector->draw(context);

// FIXME: Add something to scale the frame to the resolution of the screen
//context.draw_surface(frame, Vector(0,0),LAYER_FOREGROUND1);
context.draw_surface_part(frame,
Rectf(0, 0, frame->get_width(), frame->get_height()),
Rectf(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT),
LAYER_FOREGROUND1);

context.draw_text(Resources::small_font,
copyright_text,
Expand Down

0 comments on commit db5b2cd

Please sign in to comment.