2011/5/16 Frédéric Delanoy <frederic.dela...@gmail.com>: > Indeed. I'm checking a couple of other automatic non-checked enum > conversions, and those can be problematic; e.g. D3DRESOURCETYPE and > WINED3DRESOURCETYPE are not identical but are autoconverted without > any kind of check. > The resource type handling in e.g. d3d9 is really ugly, but should be safe in practice. IDirect3DCubeTexture9Impl_GetType() should only ever return D3DRTYPE_CUBETEXTURE for example.
- Re: d3d: avoid implicit conversion warnings from identi... Stefan Dösinger
- Re: d3d: avoid implicit conversion warnings from i... Frédéric Delanoy
- Re: d3d: avoid implicit conversion warnings fr... Henri Verbeet
- Re: d3d: avoid implicit conversion warning... Frédéric Delanoy
- Re: d3d: avoid implicit conversion war... Henri Verbeet