texture does not exist even though it does

Archives Forums/Blitz3D Bug Reports/texture does not exist even though it does

Polarix(Posted 2016) [#1]
it only happens for jpg though


RemiD(Posted 2016) [#2]
No code example to demonstrate what you say = most likely an error in your code or a corrupted file.

-check if the texture is not corrupted (open it with the windows image viewer or with an image editor)
-check if the filename is correct (in the name of the file and in your bb code)
-check if a reference exists after you have tried to load the texture
Texture = loadtexture("texture.jpg",1)
debuglog(Texture)


if you still have an error, post a simplified code example here with your texture, so that we can test it and see what is going on


Zethrax(Posted 2016) [#3]
Didn't we just have that conversation bud.

http://www.blitzbasic.com/Community/posts.php?topic=106888

What tests and solutions did you implement from that older thread where you asked this exact same thing in a similarly lazy fashion?


H&K(Posted 2016) [#4]
Not use JPG then