mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-28 07:50:49 +00:00
d3d: Fix 4444 framebuffer data upload.
This commit is contained in:
parent
95bf3a71dd
commit
0d1a529b01
@ -213,11 +213,10 @@ namespace DX9 {
|
||||
}
|
||||
}
|
||||
break;
|
||||
// not tested
|
||||
case GE_FORMAT_4444:
|
||||
{
|
||||
const u16_le *src = (const u16_le *)srcPixels + srcStride * y;
|
||||
u32 *dst = (u32 *)(convBuf + rect.Pitch * y);
|
||||
u8 *dst = (u8 *)(convBuf + rect.Pitch * y);
|
||||
for (int x = 0; x < width; x++)
|
||||
{
|
||||
u16_le col = src[x];
|
||||
|
Loading…
Reference in New Issue
Block a user