fix probably incorrect array access of struct members default tip

use refcounted objects for textures instead of pass-by-value int structs

(0) -30 -10 -2 tip

mercurial