Skip to content

Commit

Permalink
Correctly scale ice border / frame to screen size, fixes bug #620
Browse files Browse the repository at this point in the history
  • Loading branch information
tobbi committed Aug 13, 2014
1 parent 4c1a649 commit 3c0ed29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/supertux/title_screen.cpp
Expand Up @@ -119,8 +119,8 @@ 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, Vector(0,0), Vector(SCREEN_WIDTH, SCREEN_HEIGHT),
Vector(0,0), LAYER_FOREGROUND1);

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

0 comments on commit 3c0ed29

Please sign in to comment.