I suspect you're freeing a texture too early, and that it is
non-deterministically being re-allocated and overwritten.
Zach
I know documentation for all this is sparse or nonexistent, and I'm
sorry. I'm perfectly willing to answer any questions you have now or
in the future.
Zach
If you have a texture that needs to be used more than once, make sure
it's surrounded in brackets for all but the last usage.
Zach
Zach
On Nov 15, 2011, at 4:47 PM, thenwithexpandedwingshesteershisflight <math...@gmail.com> wrote:
> the program slows to a halt & takes forever to recover memory after
> quitting if I do that in certain places! I can't see the pattern...
>
> here's an example of when it slows to a halt:
>
> (let
> [
> a (:a state)
> b (:b state)
> c (:c state)
> ]
> (assoc state
> :a (if (< t 1) (g [a]) (g1 (g [a]) c) )
> :b (if (or (< t 2) (:reset state)) a (c1 b [a]) )
> :c (f4 c b)
> )
> )
>
> whereas if I say
>
> :b (if (or (< t 2) (:reset state)) a (c1 b a) )
>
> it runs fine - I don't understand when to [do this]