Loadtexture

Blitz3D Forums/Blitz3D Beginners Area/Loadtexture

Well, I am using pathnames, but only relative to the program. Here's the bit that's causing probs.

texture=LoadTexture("gfx/mercury.jpg")
For f=1 To NumberEntities
cube(f)=CreateCube()
EntityTexture cube(f),texture
Next

The bizarre thing is, if I replace the word 'mercury' with 'wood', it works. Wood and mercury are just two basic textures I have in the same folder, both jpg's. I have just added the mercury texture to the folder, so I can only assume something has happened to the folder system or something.