Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DDPIXELFORMAT ddPixelFormats[8] = // 0x5CC638
- {
- /*
- dwSize
- dwFlags
- dwFourCC
- dwRGBBitCount
- dwRBitMask
- dwGBitMask
- dwBBitMask
- dwRGBAlphaBitMask
- */
- { // A8R8G8B8
- 0x20,
- DDPF_RGB | DDPF_ALPHAPIXELS,
- 0,
- 32,
- 0x00FF0000,
- 0x0000FF00,
- 0x000000FF,
- 0xFF000000
- },
- { // A0R8G8B8
- 0x20,
- DDPF_RGB,
- 0,
- 32,
- 0x00FF0000,
- 0x0000FF00,
- 0x000000FF,
- 0x00000000
- },
- { // A1R5G5G5
- 0x20,
- DDPF_RGB | DDPF_ALPHAPIXELS,
- 0,
- 16,
- 0x7C00,
- 0x03E0,
- 0x001F,
- 0x8000
- },
- { // A4R4G4B4
- 0x20,
- DDPF_RGB | DDPF_ALPHAPIXELS,
- 0,
- 16,
- 0x0F00,
- 0x00F0,
- 0x000F,
- 0xF000
- },
- { // A0R5G6B5
- 0x20,
- DDPF_RGB,
- 0,
- 16,
- 0xF800,
- 0x07E0,
- 0x001F,
- 0x0000
- },
- { // A0R5G5B5
- 0x20,
- DDPF_RGB,
- 0,
- 16,
- 0x7C00,
- 0x03E0,
- 0x001F,
- 0x0000
- },
- { // Palette8
- 0x20,
- DDPF_RGB | DDPF_PALETTEINDEXED8,
- 0,
- 8,
- 0,
- 0,
- 0,
- 0
- },
- { // Palette4
- 0x20,
- DDPF_RGB | DDPF_PALETTEINDEXED4,
- 0,
- 4,
- 0,
- 0,
- 0,
- 0
- },
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement