~haggai-eran/nux/rtl-rebased

« back to all changes in this revision

Viewing changes to Nux/Painter.cpp

  • Committer: Jay Taoko
  • Date: 2011-10-21 23:49:15 UTC
  • mfrom: (508.1.2 nux-20)
  • Revision ID: jay.taoko@canonical.com-20111021234915-hnzakb5ndebica8i
* Removed custom Nux types: t_u32, t_s32, t_bool, ...

Show diffs side-by-side

added added

removed removed

Lines of Context:
442
442
    int border_top = pimage->border_top;
443
443
    int border_bottom = pimage->border_bottom;
444
444
    bool draw_borders_only = pimage->draw_borders_only;
445
 
    t_u32 current_alpha_blend;
446
 
    t_u32 current_src_blend_factor;
447
 
    t_u32 current_dest_blend_factor;
448
 
    t_u32 current_red_mask;
449
 
    t_u32 current_green_mask;
450
 
    t_u32 current_blue_mask;
451
 
    t_u32 current_alpha_mask;
 
445
    unsigned int current_alpha_blend;
 
446
    unsigned int current_src_blend_factor;
 
447
    unsigned int current_dest_blend_factor;
 
448
    unsigned int current_red_mask;
 
449
    unsigned int current_green_mask;
 
450
    unsigned int current_blue_mask;
 
451
    unsigned int current_alpha_mask;
452
452
 
453
453
    // Get the current color mask and blend states. They will be restored later.
454
454
    graphics_engine.GetRenderStates().GetColorMask(current_red_mask, current_green_mask, current_blue_mask, current_alpha_mask);