fix windows screenshots from r5458 / r5459
This commit is contained in:
parent
11673c7a88
commit
a39d104d1b
|
@ -34,8 +34,9 @@ static u8* Convert15To24(const u16* src, int width, int height)
|
|||
for(int x=0;x<width;x++)
|
||||
{
|
||||
u32 dst = ConvertColor555To8888Opaque<true>(*src++);
|
||||
*(u32 *)tmp_inc[x] = (dst & 0x00FFFFFF) | (*(u32 *)tmp_inc & 0xFF000000);
|
||||
tmp_inc += 3;
|
||||
*tmp_inc++ = dst&0xFF;
|
||||
*tmp_inc++ = (dst>>8)&0xFF;
|
||||
*tmp_inc++ = (dst>>16)&0xFF;
|
||||
}
|
||||
}
|
||||
return tmp_buffer;
|
||||
|
|
Loading…
Reference in New Issue