gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ChangeLog backend/render_handler_agg.cpp ... [relea


From: Bastiaan Jacques
Subject: [Gnash-commit] gnash ChangeLog backend/render_handler_agg.cpp ... [release_0_8_2_rc1]
Date: Tue, 04 Mar 2008 00:25:05 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Branch:         release_0_8_2_rc1
Changes by:     Bastiaan Jacques <bjacques>     08/03/04 00:25:05

Modified files:
        .              : ChangeLog 
        backend        : render_handler_agg.cpp render_handler_ogl.cpp 

Log message:
        Wallpaper over bug #22462: (NaN coordinates fed to renderer).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&only_with_tag=release_0_8_2_rc1&r1=1.5711.2.44&r2=1.5711.2.45
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_agg.cpp?cvsroot=gnash&only_with_tag=release_0_8_2_rc1&r1=1.127&r2=1.127.2.1
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_ogl.cpp?cvsroot=gnash&only_with_tag=release_0_8_2_rc1&r1=1.106&r2=1.106.2.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5711.2.44
retrieving revision 1.5711.2.45
diff -u -b -r1.5711.2.44 -r1.5711.2.45
--- ChangeLog   3 Mar 2008 23:46:35 -0000       1.5711.2.44
+++ ChangeLog   4 Mar 2008 00:25:03 -0000       1.5711.2.45
@@ -1,3 +1,8 @@
+2008-03-03 Bastiaan Jacques <address@hidden>
+
+       * backend/render_handler_{agg,ogl}.cpp: Wallpaper over bug #22462:
+       - (NaN coordinates fed to renderer).
+
 2008-03-03  Rob Savoye  <address@hidden>
 
        * Makefile.am: Add packaging files to EXTRA_DIST. Drop the

Index: backend/render_handler_agg.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_agg.cpp,v
retrieving revision 1.127
retrieving revision 1.127.2.1
diff -u -b -r1.127 -r1.127.2.1
--- backend/render_handler_agg.cpp      19 Feb 2008 19:20:47 -0000      1.127
+++ backend/render_handler_agg.cpp      4 Mar 2008 00:25:04 -0000       
1.127.2.1
@@ -17,7 +17,7 @@
 
  
 
-/* $Id: render_handler_agg.cpp,v 1.127 2008/02/19 19:20:47 bwy Exp $ */
+/* $Id: render_handler_agg.cpp,v 1.127.2.1 2008/03/04 00:25:04 bjacques Exp $ 
*/
 
 // Original version by Udo Giacomozzi and Hannes Mayr, 
 // INDUNET GmbH (www.indunet.it)
@@ -1066,7 +1066,7 @@
     for (pno=0; pno<pcount; pno++) {
     
       path &the_path = paths_out[pno];     
-      point oldpnt(the_path.ap.x, the_path.ap.y);
+      point oldpnt((int)the_path.ap.x, (int)the_path.ap.y);
       point newpnt;
       mat.transform(&newpnt, oldpnt);
       the_path.ap.x = newpnt.x;    
@@ -1077,14 +1077,14 @@
       
         edge &the_edge = the_path.m_edges[eno];
         
-        oldpnt.x = the_edge.ap.x;
-        oldpnt.y = the_edge.ap.y;
+        oldpnt.x = (int)the_edge.ap.x;
+        oldpnt.y = (int)the_edge.ap.y;
         mat.transform(&newpnt, oldpnt);
         the_edge.ap.x = newpnt.x;
         the_edge.ap.y = newpnt.y;
         
-        oldpnt.x = the_edge.cp.x;
-        oldpnt.y = the_edge.cp.y;
+        oldpnt.x = (int)the_edge.cp.x;
+        oldpnt.y = (int)the_edge.cp.y;
         mat.transform(&newpnt, oldpnt);
         the_edge.cp.x = newpnt.x;
         the_edge.cp.y = newpnt.y;

Index: backend/render_handler_ogl.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_ogl.cpp,v
retrieving revision 1.106
retrieving revision 1.106.2.1
diff -u -b -r1.106 -r1.106.2.1
--- backend/render_handler_ogl.cpp      19 Feb 2008 19:20:48 -0000      1.106
+++ backend/render_handler_ogl.cpp      4 Mar 2008 00:25:04 -0000       
1.106.2.1
@@ -264,12 +264,12 @@
         it != end; ++it) {
       const edge& the_edge = *it;
       
-      point target(the_edge.ap.x, the_edge.ap.y);
+      point target((int)the_edge.ap.x, (int)the_edge.ap.y);
 
       if (the_edge.is_straight()) {
         shape_points.push_back(oglVertex(target));
       } else {
-        point control(the_edge.cp.x, the_edge.cp.y);
+        point control((int)the_edge.cp.x, (int)the_edge.cp.y);
         
         trace_curve(anchor, control, target, shape_points);
       }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]