case WINED3DFMT_A8R8G8B8: DdDesc.u4.ddpfPixelFormat.dwFlags = DDPF_RGB | DDPF_ALPHAPIXELS; DdDesc.u4.ddpfPixelFormat.dwFourCC = 0; DdDesc.u4.ddpfPixelFormat.u1.dwRGBBitCount = 32; DdDesc.u4.ddpfPixelFormat.u2.dwRBitMask = 0x00ff0000; DdDesc.u4.ddpfPixelFormat.u3.dwGBitMask = 0x0000ff00; DdDesc.u4.ddpfPixelFormat.u4.dwBBitMask = 0x000000ff; DdDesc.u4.ddpfPixelFormat.u5.dwRGBAlphaBitMask = 0xff000000; break;