projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
368531e
)
Revert "Correctly scale ice border / frame to screen size, fixes bug #620"
author
Tobias Markus
<tobbi@mozilla-uk.org>
Wed, 13 Aug 2014 16:32:05 +0000
(18:32 +0200)
committer
Tobias Markus
<tobbi@mozilla-uk.org>
Wed, 13 Aug 2014 16:32:05 +0000
(18:32 +0200)
This reverts commit
3c0ed29ac3b6f8609f9735855cef14aa572d8a51
.
Revert until problem with OpenGL renderer is fixed that distorts image.
src/supertux/title_screen.cpp
patch
|
blob
|
history
diff --git
a/src/supertux/title_screen.cpp
b/src/supertux/title_screen.cpp
index
fe0e299
..
368ac4a
100644
(file)
--- a/
src/supertux/title_screen.cpp
+++ b/
src/supertux/title_screen.cpp
@@
-119,8
+119,8
@@
TitleScreen::draw(DrawingContext& context)
Sector* sector = titlesession->get_current_sector();
sector->draw(context);
- context.draw_surface_part(frame, Vector(0,0), Vector(SCREEN_WIDTH, SCREEN_HEIGHT),
-
Vector(0,0),
LAYER_FOREGROUND1);
+ // FIXME: Add something to scale the frame to the resolution of the screen
+
//context.draw_surface(frame, Vector(0,0),
LAYER_FOREGROUND1);
context.draw_text(Resources::small_font,
copyright_text,