damn whats going wrong
i have several textures to load all in bmp format all work, but now if i want to make and load the 5th textue it only shows a white square , the path and loading and all stuff is right, cuz when i try to load one of the previos textures in this slot[5] then it works....
whats going on now i dont have a clue...
Maybe it''s too big or size isn''t power of 2.
If you have voodoo 3 or older, it can be only 256×256.
If you have voodoo 3 or older, it can be only 256×256.
Hey... wait a sec!
You''re saying that u store the fifth "element" on slot[5]?
That''s wrong, since arrays are indexed from 0 to n-1. In other words, you should store the fifth element on slot[4]
Hope this is your bug.... and not a typo
Cristián Ramírez (gameovercl)
ICQ #38991565
Viña del Mar
CHILE
You''re saying that u store the fifth "element" on slot[5]?
That''s wrong, since arrays are indexed from 0 to n-1. In other words, you should store the fifth element on slot[4]

Hope this is your bug.... and not a typo

Cristián Ramírez (gameovercl)
ICQ #38991565
Viña del Mar
CHILE
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement