Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 30, 2007, 1:13:28 AM (17 years ago)
Author:
patrick
Message:

merged blinki branche back to trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/effects/billboard.cc

    r10473 r10491  
    154154  // changes the color of the texture (if any is set)
    155155  if(this->texColor != NULL)
    156     glColor4ub((GLubyte)this->texColor->r()*255, (GLubyte)this->texColor->g()*255, (GLubyte)this->texColor->b()*255, (GLubyte)(this->texColor->a()*255));
     156    glColor4ub((GLubyte)(this->texColor->r()*255.0f), (GLubyte)(this->texColor->g()*255.0f), (GLubyte)(this->texColor->b()*255.0f), (GLubyte)(this->texColor->a()*255));
    157157
    158158  glBegin(GL_QUADS);
Note: See TracChangeset for help on using the changeset viewer.