I have the 2d map made of triangles:

and the following texture (this is just an example, so the size of the image is not a power of 2):

My question is: is there any opengl method to make the map look like this directly:

or I have to specify the texture coordinates "manually"?
Any reply is appreciated,
many thanks.







