Skip to content

Commit

Permalink
Comment out set_buffer_size
Browse files Browse the repository at this point in the history
  • Loading branch information
MillionIntegrals committed Aug 12, 2019
1 parent 5783cb5 commit 05ce0fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mujoco_py/mjrendercontext.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 05ce0fe

Please sign in to comment.