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 ...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog backend/render_handler_agg.cpp ...
Date: Tue, 04 Mar 2008 10:39:58 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  08/03/04 10:39:58

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

Log message:
        Revert Bastiaan patch casting to int, the problem is in the drawing api.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.5793&r2=1.5794
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_agg.cpp?cvsroot=gnash&r1=1.129&r2=1.130
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_ogl.cpp?cvsroot=gnash&r1=1.107&r2=1.108

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.5793
retrieving revision 1.5794
diff -u -b -r1.5793 -r1.5794
--- ChangeLog   4 Mar 2008 09:09:06 -0000       1.5793
+++ ChangeLog   4 Mar 2008 10:39:57 -0000       1.5794
@@ -1,3 +1,9 @@
+2008-03-04 Sandro Santilli <address@hidden>
+
+       * backend/: render_handler_agg.cpp, render_handler_ogl.cpp:
+         Revert Bastiaan patch casting to int, the problem is in 
+         the drawing api.
+
 2008-03-04 Bastiaan Jacques <address@hidden>
 
        * server/as_value.h: Use the previous implementations of isnan and

Index: backend/render_handler_agg.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_agg.cpp,v
retrieving revision 1.129
retrieving revision 1.130
diff -u -b -r1.129 -r1.130
--- backend/render_handler_agg.cpp      4 Mar 2008 00:21:14 -0000       1.129
+++ backend/render_handler_agg.cpp      4 Mar 2008 10:39:58 -0000       1.130
@@ -17,7 +17,7 @@
 
  
 
-/* $Id: render_handler_agg.cpp,v 1.129 2008/03/04 00:21:14 bjacques Exp $ */
+/* $Id: render_handler_agg.cpp,v 1.130 2008/03/04 10:39:58 strk 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((int)the_path.ap.x, (int)the_path.ap.y);
+      point oldpnt(the_path.ap.x, 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 = (int)the_edge.ap.x;
-        oldpnt.y = (int)the_edge.ap.y;
+        oldpnt.x = the_edge.ap.x;
+        oldpnt.y = the_edge.ap.y;
         mat.transform(&newpnt, oldpnt);
         the_edge.ap.x = newpnt.x;
         the_edge.ap.y = newpnt.y;
         
-        oldpnt.x = (int)the_edge.cp.x;
-        oldpnt.y = (int)the_edge.cp.y;
+        oldpnt.x = the_edge.cp.x;
+        oldpnt.y = 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.107
retrieving revision 1.108
diff -u -b -r1.107 -r1.108
--- backend/render_handler_ogl.cpp      4 Mar 2008 00:21:14 -0000       1.107
+++ backend/render_handler_ogl.cpp      4 Mar 2008 10:39:58 -0000       1.108
@@ -264,12 +264,12 @@
         it != end; ++it) {
       const edge& the_edge = *it;
       
-      point target((int)the_edge.ap.x, (int)the_edge.ap.y);
+      point target(the_edge.ap.x, the_edge.ap.y);
 
       if (the_edge.is_straight()) {
         shape_points.push_back(oglVertex(target));
       } else {
-        point control((int)the_edge.cp.x, (int)the_edge.cp.y);
+        point control(the_edge.cp.x, the_edge.cp.y);
         
         trace_curve(anchor, control, target, shape_points);
       }




reply via email to

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