Well done :)
it compiles when I added a few setrenderstates, and a createtexturefromfile, but causes a page fault when I run it
using dx8.1
when trying to isolate it, by commenting out either all but createtexturefromfile, or all but on setrenderstate, causes a protection fault
any idea to what causes it? stack?
using dx8.1
when trying to isolate it, by commenting out either all but createtexturefromfile, or all but on setrenderstate, causes a protection fault
any idea to what causes it? stack?
double check which version of the directx libs and headers you have...
I'll lay money there's a mixup .. took me ages to realize I was using the dx8.1 includes and a mixture of dx8.0 and 8.1 libs...
I'll lay money there's a mixup .. took me ages to realize I was using the dx8.1 includes and a mixture of dx8.0 and 8.1 libs...