From 9097d97a356124634f936e6c17787a874f77ad81 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 5 Jan 2008 12:16:32 +0000 Subject: Fixed comment that incorrectly reversed green and blue ordering for setPalette data svn-id: r30237 --- common/system.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/system.h') diff --git a/common/system.h b/common/system.h index 98ea02df20..e77431dc9e 100644 --- a/common/system.h +++ b/common/system.h @@ -415,8 +415,8 @@ public: * * The palette data is specified in interleaved RGBA format. That is, the * first byte of the memory block 'colors' points at is the red component - * of the first new color; the second byte the blue component of the first - * new color; the third byte the green component, the last byte to the alpha + * of the first new color; the second byte the green component of the first + * new color; the third byte the blue component, the last byte to the alpha * (transparency) value. Then the second color starts, and so on. So memory * looks like this: R1-G1-B1-A1-R2-G2-B2-A2-R3-... * -- cgit v1.2.3