[GEAR] [Added MIPMAP to TextureManager.cpp & put a safety check on glViewport() in renderer/gxRenderer.cpp