TINYGL: changed code to allow initialize TinyGL with specific internal texture dimension.
Grim: 256x256, Myst3: 1024x1024