CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/10/22 21:13:16
Modified files:
server : movie_root.cpp
Log message:
setRootMovie: don't call set_viewport_size, set viewport size directly
(the former needs an initialized VM to work properly)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/movie_root.cpp?cvsroot=gnash&r1=1.113&r2=1.114
Patches:
Index: movie_root.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/movie_root.cpp,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -b -r1.113 -r1.114
--- movie_root.cpp 22 Oct 2007 19:53:35 -0000 1.113
+++ movie_root.cpp 22 Oct 2007 21:13:16 -0000 1.114
@@ -137,9 +137,11 @@
void
movie_root::setRootMovie(movie_instance* movie)
{
- set_display_viewport(0, 0,
- (int) movie->get_movie_definition()->get_width_pixels(),
- (int) movie->get_movie_definition()->get_height_pixels());
+ m_viewport_x0 = 0;
+ m_viewport_y0 = 0;
+ m_viewport_width =
(int)movie->get_movie_definition()->get_width_pixels();
+ m_viewport_height =
(int)movie->get_movie_definition()->get_height_pixels();
+ m_pixel_scale = 1;
try
{
_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit