SetUV for OpenGL ?

BlitzMax Forums/BlitzMax Programming/SetUV for OpenGL ?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Scale the original image (pixmap) up to the nearest ^2 vertically, then scale the image's Y axis down by the relevant amount when you draw it.

78 -> 128 = Y * (78 / 128) = SetScale 1, 0.6094