[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog gui/gui.cpp
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash ChangeLog gui/gui.cpp |
Date: |
Fri, 16 May 2008 16:08:17 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 08/05/16 16:08:16
Modified files:
. : ChangeLog
gui : gui.cpp
Log message:
* gui/gui.cpp (start): call resize_view rather then setting display
viewport directly. This should ensure stage matrix is properly
updated when -s or -j/-k are given.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.6626&r2=1.6627
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui.cpp?cvsroot=gnash&r1=1.166&r2=1.167
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.6626
retrieving revision 1.6627
diff -u -b -r1.6626 -r1.6627
--- ChangeLog 16 May 2008 13:57:16 -0000 1.6626
+++ ChangeLog 16 May 2008 16:08:14 -0000 1.6627
@@ -1,5 +1,11 @@
2008-05-16 Sandro Santilli <address@hidden>
+ * gui/gui.cpp (start): call resize_view rather then setting display
+ viewport directly. This should ensure stage matrix is properly
+ updated when -s or -j/-k are given.
+
+2008-05-16 Sandro Santilli <address@hidden>
+
* libmedia/ffmpeg/sound_handler_sdl.{cpp,h}: fix memory leak in
stop_all_sounds too..
Index: gui/gui.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gui.cpp,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -b -r1.166 -r1.167
--- gui/gui.cpp 7 May 2008 14:38:14 -0000 1.166
+++ gui/gui.cpp 16 May 2008 16:08:15 -0000 1.167
@@ -888,7 +888,7 @@
mr->setVariables(_flashVars);
_stage->setRootMovie( mr.release() ); // will construct the instance
- _stage->set_display_viewport(0, 0, _width, _height);
+ resize_view(_width, _height); // to properly update stageMatrix if scaling
is given
bool background = true; // ??
_stage->set_background_alpha(background ? 1.0f : 0.05f);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash ChangeLog gui/gui.cpp,
Sandro Santilli <=