Hi. Using DirectX9.... We have a 2D game called 9th Dawn which used DirectxSprite for rendering. We recently switched it to Direct3D rendering using D3DPT_TRIANGLELIST. This works fine when running directly from Visual Studio~ however when I take the generated .exe and try running it, I get triangle artifacts instead of textures. I have tried the .exe in an isolated folder with the exact same .dlls and data (includes textures) as the visual studio build, and also tried running the .exe in the exact same folder as Visual Studio project so it uses the same data.
Title screen comparrison:
https://dl.dropbox.com/u/15579799/dxscreens/title1.png
https://dl.dropbox.com/u/15579799/dxscreens/title2.png
In game comparrison:
https://dl.dropbox.com/u/15579799/dxscreens/game1.png
https://dl.dropbox.com/u/15579799/dxscreens/game2.png
I have no idea what's going on. I tried the release build on another computer and I got the triangle artifacts. I sent it to a friend in USA and he actually saw the correct textures.
It looks like the textures are definitely getting loaded because their colours seem correctish, it just seems to be only using the first pixel in the texture. I load textures from a DAT file buffer using D3DXCreateTextureFromFileInMemoryEx(...). I have a radeon 7950 graphics card
Could it be I need to set a render state?