~azzar1/unity/fix-1036231-5.0

« back to all changes in this revision

Viewing changes to plugins/unityshell/src/FilterBasicButton.cpp

  • Committer: Jay Taoko
  • Date: 2011-11-08 19:41:00 UTC
  • mfrom: (1722.1.1 nux20port)
  • Revision ID: jay.taoko@canonical.com-20111108194100-56eqlm272lkwmr6a
* Removed custom nux type such as t_u32 and replaced with unsigned int. Custom type definitions have be removed from Nux trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
    texxform.SetTexCoordType(nux::TexCoordXForm::OFFSET_COORD);
119
119
 
120
120
    // clear what is behind us
121
 
    nux::t_u32 alpha = 0, src = 0, dest = 0;
 
121
    unsigned int alpha = 0, src = 0, dest = 0;
122
122
    GfxContext.GetRenderStates().GetBlend(alpha, src, dest);
123
123
    GfxContext.GetRenderStates().SetBlend(true, GL_ONE, GL_ONE_MINUS_SRC_ALPHA);
124
124