texture wrap support for ogl render