include: Use hexadecimal values in the DXGI_FORMAT enum.

Since that's how those are typically printed.
This commit is contained in:
Henri Verbeet 2016-10-22 16:25:16 +02:00
parent c593e1a8ea
commit a8f7602b14

View File

@ -34,21 +34,21 @@ typedef struct DXGI_SAMPLE_DESC
typedef enum DXGI_FORMAT typedef enum DXGI_FORMAT
{ {
DXGI_FORMAT_UNKNOWN = 0, DXGI_FORMAT_UNKNOWN = 0x00,
DXGI_FORMAT_R32G32B32A32_TYPELESS = 1, DXGI_FORMAT_R32G32B32A32_TYPELESS = 0x01,
DXGI_FORMAT_R32G32B32A32_FLOAT = 2, DXGI_FORMAT_R32G32B32A32_FLOAT = 0x02,
DXGI_FORMAT_R32G32B32A32_UINT = 3, DXGI_FORMAT_R32G32B32A32_UINT = 0x03,
DXGI_FORMAT_R32G32B32A32_SINT = 4, DXGI_FORMAT_R32G32B32A32_SINT = 0x04,
DXGI_FORMAT_R32G32B32_TYPELESS = 5, DXGI_FORMAT_R32G32B32_TYPELESS = 0x05,
DXGI_FORMAT_R32G32B32_FLOAT = 6, DXGI_FORMAT_R32G32B32_FLOAT = 0x06,
DXGI_FORMAT_R8G8B8A8_TYPELESS = 27, DXGI_FORMAT_R8G8B8A8_TYPELESS = 0x1b,
DXGI_FORMAT_R8G8B8A8_UNORM = 28, DXGI_FORMAT_R8G8B8A8_UNORM = 0x1c,
DXGI_FORMAT_R32_FLOAT = 41, DXGI_FORMAT_R32_FLOAT = 0x29,
DXGI_FORMAT_B8G8R8A8_UNORM = 87, DXGI_FORMAT_B8G8R8A8_UNORM = 0x57,
DXGI_FORMAT_B8G8R8X8_UNORM = 88, DXGI_FORMAT_B8G8R8X8_UNORM = 0x58,
DXGI_FORMAT_FORCE_DWORD = 0xffffffff, DXGI_FORMAT_FORCE_DWORD = 0xffffffff,
} DXGI_FORMAT; } DXGI_FORMAT;