bugClanLib - Bugs: bug #5250, CL_Sprite::set_color() not handled...


bug #5250: CL_Sprite::set_color() not handled in StateChecker

Submitter:  Ingo Ruhnke <grumbel>
Submitted:  Fri 12 Sep 2003 10:17:43 PM UTC
Category:  clanGL Severity:  3 - Normal
Item Group:  Incorrect Behaviour Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  0.7-CVS
Operating System:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Fri 12 Sep 2003 10:17:43 PM UTC, original submission:  

Code like this:

  for(int i = 0; i < 15; ++i)
      float red   = 1.0f;
      float green = (i/20.0f);
      CL_Sprite sprite = bar;
      sprite.set_color(red, green, 0, 1.0f);
      sprite.draw(15 + (i * 10), 15);

results in all sprites having the same color, adding a


at the end of the for-loop fixed it, so I guess its a bug in the statechecker.

Ingo Ruhnke <grumbel>
Group administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.


No changes have been made to this item

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code