mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 16:49:58 -06:00
Fixed a few issues bought up in code review.
This commit is contained in:
@ -11,10 +11,7 @@ namespace EfbInterface
|
||||
{
|
||||
const int DEPTH_BUFFER_START = EFB_WIDTH * EFB_HEIGHT * 3;
|
||||
|
||||
// color order is ABGR in order to emulate RGBA on little-endian hardware
|
||||
enum { ALP_C, BLU_C, GRN_C, RED_C };
|
||||
|
||||
// packed so the compiler doesn't mess with alignment
|
||||
// xfb color format - packed so the compiler doesn't mess with alignment
|
||||
#pragma pack(push,1)
|
||||
typedef struct {
|
||||
u8 Y;
|
||||
@ -29,6 +26,10 @@ namespace EfbInterface
|
||||
s8 V;
|
||||
} yuv444;
|
||||
|
||||
enum { ALP_C, BLU_C, GRN_C, RED_C };
|
||||
|
||||
// color order is ABGR in order to emulate RGBA on little-endian hardware
|
||||
|
||||
// does full blending of an incoming pixel
|
||||
void BlendTev(u16 x, u16 y, u8 *color);
|
||||
|
||||
|
Reference in New Issue
Block a user