forked from mirrors/0ad
d367014972
fix 2 bugs in tex / ogl_tex reported by philip (related to caching) - thanks! tex: documented header and improved implementation. add tex_transform_to for convenience. change tex_write to require going through tex_wrap. This was SVN commit r2837.