Remember current texture during render/reshape