On 10/3/10 5:44 PM, Rico Schüller wrote:
Am 02.10.2010 15:29, schrieb Jacek Caban:
+typedef enum D3D10_SRV_DIMENSION1 +{
- D3D10_1_SRV_DIMENSION_UNKNOWN = 0,
...
- D3D10_1_SRV_DIMENSION_TEXTURECUBE = 9,
- D3D10_1_SRV_DIMENSION_TEXTURECUBEARRAY = 10
+} D3D10_SRV_DIMENSION1;
You probably might add those to d3dcommon.h and only add a typedef. It was changed in one of the sdks.
This can't work for enums. Note that there are D3D10_1_* value names, not only types.
Jacek