Hi, I'm having trouble with one of the procedures from the nim wrapper of sdl2 (nim-lang/sdl2).
Specifically, I am trying to modify the color of a texture using setTextureColorMod(). The proc has a signature of (texture: texturePtr, r, g, b: uint8). The proc works fine if I add in the r, g, b values directly, but I can't find a way for it to accept a constant as an argument for the color. I can't use a tuple of uint8s, because the proc signature won't accept one - I guess it can't be unpacked? I feel like there must be an easy way to use a constant or something similar, but I can't figure it out. Any help would be appreciated!
