loadtexture

Blitz3D Forums/Blitz3D Programming/loadtexture

RifRaf(Posted 2004) [#1]
is ther any way to turn off the way blitz will refer to the same texture in memory for many textures loaded if its the same name.. meaning

a=loadtexture("test.jpg")
b=loadtexture(test.jpg")

now if you do anything to a then b changes also.. I dont want this to happen.. any way around it?


GfK(Posted 2004) [#2]
Yes. Load each texture with different flags.

Alternatively, load the texture once, create a new texture of the same size, and CopyRect() it.


RifRaf(Posted 2004) [#3]
.