From 05ce0fef74585b4ff24012bd6968802d487b15bd Mon Sep 17 00:00:00 2001 From: Jerry Tworek Date: Mon, 12 Aug 2019 16:03:47 -0700 Subject: [PATCH] Comment out `set_buffer_size` --- mujoco_py/mjrendercontext.pyx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)