If you want to do it with your own OpenGL code, you can use:
glTexSubImage2D()
which will allow you to upload a rectangular portion of a pixmap at a given coordinate into an EXISTING image/texture. You probably can only do it if you make your own textures, but it doesn't require all the for-next loop malarky.
glTexSubImage2D()
which will allow you to upload a rectangular portion of a pixmap at a given coordinate into an EXISTING image/texture. You probably can only do it if you make your own textures, but it doesn't require all the for-next loop malarky.