VBGamer |
|
Problem solved MetalWarrior (0 replies, 0 views) (2000-Dec-3) Well, I ended up downloading the C++ SDK, and looking up how they did it in the source for the DxTex tool. Turns out they don't even use LoadSurfaceFromMemory, they lock the surface and load the byte data directly onto it, then use LoadSurfaceFromSurface for format conversion (which doesn't require a pitch, either) I was able to get it to work, so I'm a happy man now. =)
Thanks for all your help! |