free brush texture?

Archives Forums/Blitz3D SDK Programming/free brush texture?

Leon Drake(Posted 2007) [#1]
Anyone having any problems doing this?

I cant seem to free a texture on a brush by doing this

temptex = bbGetBrushTexture(mat.pbucket_brush,i)
If temptex <> 0 Then
bbFreeTexture(temptex)
EndIf


when i reapply the brush the texture is still there.


Leon Drake(Posted 2007) [#2]
bah nvm why do i post in here LOL, not because of no responses, just because i seem to always figure it out eventually anyways.