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


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

Submitted by:  Ingo Ruhnke <grumbel>
Submitted on:  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

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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>
Project 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


Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.




No changes have been made to this item

Back to the top

Powered by Savane 3.3