Drawimage with vertex colours

BlitzMax Forums/BlitzMax Programming/Drawimage with vertex colours

1) vertex colors: instead of
c[ii+3] = Driver.DrawColor
set:
c[ii+3] = alpha Shl 24 | red Shl 16 | green Shl 8| blue
(alpha, red, green, blue:INT in the range 0 to 255)

2) uv:
uv[ii+4] = u
uv[ii+5] = v
(u, v:FLOAT in the range 0 to 1)

Shame on me that I haven't commented "thank you" at Progers article yet, because it offers really an explosion for the 2D-graphic-capabilities of BlitzMax ! So I take the possibility here: Thanks a lot !