I think it would be a good idea to test the parameters (format, width, height, miplevels) of the created texture.
On Fri, Sep 19, 2008 at 07:10:29PM +0200, Henri Verbeet wrote:
I think it would be a good idea to test the parameters (format, width, height, miplevels) of the created texture.
I used to do that, but most of the things you can check are just duplicates of the checks in D3DCheckTextureRequirements, and I think CreateTexture would fail if it couldn't fulfil the new requirements.
I think the only thing that's left is format checking, but that's not very easy to check beyond general kind of format.