[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/backend render_handler_agg.cpp
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash/backend render_handler_agg.cpp |
Date: |
Wed, 18 Jul 2007 23:17:55 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 07/07/18 23:17:55
Modified files:
backend : render_handler_agg.cpp
Log message:
comments cleanup
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/backend/render_handler_agg.cpp?cvsroot=gnash&r1=1.94&r2=1.95
Patches:
Index: render_handler_agg.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/render_handler_agg.cpp,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -b -r1.94 -r1.95
--- render_handler_agg.cpp 18 Jul 2007 23:05:49 -0000 1.94
+++ render_handler_agg.cpp 18 Jul 2007 23:17:54 -0000 1.95
@@ -17,7 +17,7 @@
-/* $Id: render_handler_agg.cpp,v 1.94 2007/07/18 23:05:49 strk Exp $ */
+/* $Id: render_handler_agg.cpp,v 1.95 2007/07/18 23:17:54 strk Exp $ */
// Original version by Udo Giacomozzi and Hannes Mayr,
// INDUNET GmbH (www.indunet.it)
@@ -1142,20 +1142,13 @@
/// layers so they must be rendered separately.
unsigned int count_sub_shapes(const std::vector<path> &paths)
{
- //return 3;
-
unsigned int sscount=1;
size_t pcount = paths.size();
- for (size_t pno=0; pno<pcount; pno++) { // skip first path! (but we're
not !?)
+ for (size_t pno=0; pno<pcount; pno++) {
const path &this_path = paths[pno];
- // Udo said we could comment this out
- // https://savannah.gnu.org/bugs/?18119#comment2
- //if (pno==0)
- // assert(!this_path.m_new_shape); // this would break draw_XXX
-
if (this_path.m_new_shape)
sscount++;
}