Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions mujoco_viewer/mujoco_viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ def read_pixels(self, camid=None, depth=False):


def render(self):
glfw.make_context_current(self.window)
if self.render_mode == 'offscreen':
raise NotImplementedError(
"Use 'read_pixels()' for 'offscreen' mode.")
Expand Down