Fix comment
svn-id: r34880
This commit is contained in:
parent
78221818e4
commit
9e74c41dbd
1 changed files with 2 additions and 2 deletions
|
@ -1054,8 +1054,8 @@ bool ThemeEngine::createCursor(const Common::String &filename, int hotspotX, int
|
||||||
_system->colorToRGB(src[x], r, g, b);
|
_system->colorToRGB(src[x], r, g, b);
|
||||||
const int col = (r << 16) | (g << 8) | b;
|
const int col = (r << 16) | (g << 8) | b;
|
||||||
|
|
||||||
// Skip transparent colors
|
// Skip transparency (the transparent color actually is 0xFF00FF,
|
||||||
// (transparent actually is 0xFF00FF), but the RGB convert chops of the lower bits
|
// but the RGB conversion chops of the lower bits).
|
||||||
if ((r > 0xF1) && (g < 0x03) && (b > 0xF1))
|
if ((r > 0xF1) && (g < 0x03) && (b > 0xF1))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue