Hi, I need to dynamically change textures in my program. In order to delete previous textures I added the following method to those of 3d-turtle:
early del-textures
: del-textures ( t1 .. tn n -- )
?texture [IF]
>r sp@ r> swap glDeleteTextures
[ELSE] 0 ?DO 0 LOOP [THEN] ;
Hope somebody else finds it useful.
--
Sergey
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
