PDA

View Full Version : ClanLib 0.9 pacman example patch



rombust
11-28-2008, 03:36 PM
Here is a patch to pacman example to tripple the fps (from 33fps to 100fps on my pc)

I have not applied it, as i belive clanlib should do this internally in CL_SpriteRenderBatch - somehow!

rombust
12-01-2008, 04:09 PM
I have committed the following patch to speed up pacman (obsoleting the previous patch)

However, this is not the ideal solution, but it will do for now :)

In my opinion, CL_TextureGroup should have a facility to calculate the optimum texture size, instead of predicting what CL_TextureGroup will require (as an estimate)