Permalink
Browse files

Fix some typos in AGG code (no idea if they affect us)

  • Loading branch information...
1 parent caafcaa commit 9e50089dbf30d075944cb3a2da90185fc643a4c4 @tbonfort tbonfort committed Aug 13, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 renderers/agg/include/agg_span_image_filter_rgba.h
@@ -895,9 +895,9 @@ namespace mapserver
if(fg[3] < 0) fg[3] = 0;
if(fg[order_type::A] > base_mask) fg[order_type::A] = base_mask;
- if(fg[order_type::R] > fg[order_type::R]) fg[order_type::R] = fg[order_type::R];
- if(fg[order_type::G] > fg[order_type::G]) fg[order_type::G] = fg[order_type::G];
- if(fg[order_type::B] > fg[order_type::B]) fg[order_type::B] = fg[order_type::B];
+ if(fg[order_type::R] > fg[order_type::A]) fg[order_type::R] = fg[order_type::A];
+ if(fg[order_type::G] > fg[order_type::A]) fg[order_type::G] = fg[order_type::A];
+ if(fg[order_type::B] > fg[order_type::A]) fg[order_type::B] = fg[order_type::A];
span->r = (value_type)fg[order_type::R];
span->g = (value_type)fg[order_type::G];

0 comments on commit 9e50089

Please sign in to comment.