Re: [Plib-users] Applying the same texture twice
Brought to you by:
sjbaker
From: Jorge V. <xx...@gm...> - 2005-07-13 16:24:32
|
I'm really a newbie with plib, so my answer could be way of. Perhaps you could look at the class ssgStateSelector, to see how it works... Perhaps it does something you do not. On 7/11/05, jo...@lu... <jo...@lu...> wrote: > I can work around the problem by either: > 1) call icon->force() at (1), since this will bind the texture > again (even if it's not changed). To optimise this further: > I can compare icon(i) with the previous icon and only > do this (probably expensive) force() call if the same icon is > drawn twice (which is really an exception) > 2) I can manually bind the texture at (1) > 3) I can probably reset the current texture to 0 before > calling apply() > 4) ??? |