mmm...strange, on my system it works perfectly, both the .exe and the source. (Athlon64 3500+, GeForce 6600gt - but at the time I created it, it works perfectly on a AthlonXP 1600+ GeForce4200ti)
What is your system?
Maybe if the flag 256 in the CreateTexture() commands.
What is your system?
Maybe if the flag 256 in the CreateTexture() commands.