Ah, ok.
Well,
what would be the best way to make the surfaces and textures using images from my resources without using that?
The book I have (Beginning Game Programming Second edition by Jonathan S. Harbour uses that LoadFromFile style with the getimageinfo (and it does get a little anoying using all those), so I don't really know another way.
Thanks,
Progames25
D3DXLoadSurfaceFromResource
Quote:Original post by Progames25If you need a surface, there doesn't appear to be any way. If you need a texture however, there's D3DXCreateTextureFrom*() functions.
Ah, ok.
Well,
what would be the best way to make the surfaces and textures using images from my resources without using that?
The book I have (Beginning Game Programming Second edition by Jonathan S. Harbour uses that LoadFromFile style with the getimageinfo (and it does get a little anoying using all those), so I don't really know another way.
Thanks,
Progames25
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement