OpenGL: drop texture_rect hack Everything is moved to texture2d (but often in a hacky way), so we don't need this global hack any more.