Skip to content

Commit

Permalink
Fix template parameter redefines default argument
Browse files Browse the repository at this point in the history
  • Loading branch information
SylaiseElvenan committed Nov 8, 2024
1 parent 25be50f commit c470363
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DesktopEditor/graphics/AlphaMask.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class scanline_u8_am;
template<unsigned R, unsigned G, unsigned B>
struct rgb_to_gray_mask_u8;
struct one_component_mask_u8;
template<unsigned Step=1, unsigned Offset=0, class MaskF=one_component_mask_u8>
template<unsigned Step, unsigned Offset, class MaskF>
class alpha_mask_u8;
}

Expand Down Expand Up @@ -66,7 +66,7 @@ namespace Aggplus

agg::scanline_u8_am<agg::alpha_mask_u8<4, 0, agg::rgb_to_gray_mask_u8<2, 1, 0> > >& GetScanlineBGRGray();
agg::scanline_u8_am<agg::alpha_mask_u8<4, 0, agg::rgb_to_gray_mask_u8<0, 1, 2> > >& GetScanlineRGBGray();
agg::scanline_u8_am<agg::alpha_mask_u8<4, 3> >& GetScanlineAlpha4();
agg::scanline_u8_am<agg::alpha_mask_u8<4, 3, agg::one_component_mask_u8> >& GetScanlineAlpha4();

private:
CSoftMask_private* m_pInternal;
Expand Down

0 comments on commit c470363

Please sign in to comment.