fix textures on context reset

eg: when change to fullscreen/windowed mode.