diff --git a/mujoco_py/mjrendercontext.pyx b/mujoco_py/mjrendercontext.pyx index 95153e29..76b96a98 100644 --- a/mujoco_py/mjrendercontext.pyx +++ b/mujoco_py/mjrendercontext.pyx @@ -150,7 +150,9 @@ cdef class MjRenderContext(object): self.cam.type = const.CAMERA_FIXED self.cam.fixedcamid = camera_id - self.opengl_context.set_buffer_size(width, height) + # This doesn't really do anything else rather than checking for the size of buffer + # need to investigate further whi is that a no-op + # self.opengl_context.set_buffer_size(width, height) mjv_updateScene(self._model_ptr, self._data_ptr, &self._vopt, &self._pert, &self._cam, mjCAT_ALL, &self._scn)