[gPalette] Incorrect value for "transparent" used in findColor()

Issue #541 invalid
prl created an issue

In gPalette::findColor():

    if (rgb.a == 255) /* Fully transparent, then RGB does not matter */

255 (0xFF) is not the Alpha plane value for "fully transparent", it's the value for "fully opaque).

Should be 0.

Comments (1)

  1. Log in to comment