diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-04-18 15:09:12 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-04-18 15:09:12 +0200 |
| commit | c5b4c98fadd89fd114520e201e34a58a78025344 (patch) | |
| tree | adbcc550d6ef4a61764bd2cd2a534b9adb2af31f /dev/kernel/NewKit | |
| parent | 0a595d68cd69c365da98c58babf2217bd501615d (diff) | |
dev, fb: did some cleanup on the graphics stack.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/kernel/NewKit')
| -rw-r--r-- | dev/kernel/NewKit/Macros.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/kernel/NewKit/Macros.h b/dev/kernel/NewKit/Macros.h index eda454f9..83dbc7b5 100644 --- a/dev/kernel/NewKit/Macros.h +++ b/dev/kernel/NewKit/Macros.h @@ -122,7 +122,7 @@ #define NE_UNUSED(X) ((Kernel::Void)X) #ifndef RGB -#define RGB(R, G, B) (Kernel::UInt32)(R | G << 0x8 | B << 0x10) +#define RGB(R, G, B) ((Kernel::UInt32)((0xFF << 24) | ((R) << 16) | ((G) << 8) | (B))) #endif // !RGB #ifdef __NE_AMD64__ |
