r = sdl.SetTextureColorMod(tex, r, g, b)
srcC = srcC * (color / 255) |
Color modulation is not always supported by the renderer; it will return -1 if color modulation is not supported.
The tex
argument must simply be the identifier of a hardware brush.