RandomTiger
Newcomer
- Joined
- Jun 22, 2003
- Messages
- 2
Hi there, Im having real trouble finding example code / tutorials using this function (D3DXCreateTextureFromResource).
So far I have managed to get it working with a bmp from the resources. However I want to be able to load a jpg (which it says it supports) because I need to keep file sizes down, it says that the image must be registered as a custom resource but I dont know how to do that.
So far I have managed to get it working with a bmp from the resources. However I want to be able to load a jpg (which it says it supports) because I need to keep file sizes down, it says that the image must be registered as a custom resource but I dont know how to do that.