Skip to content

Commit

Permalink
Update _glfw.py
Browse files Browse the repository at this point in the history
  • Loading branch information
smyeungx committed Jun 8, 2023
1 parent 9c71f80 commit 5b64114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vispy/app/backends/_glfw.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def __init__(self, vispy_canvas, **kwargs):
raise ValueError('fullscreen must be <= %s'
% len(monitor))
monitor = monitor[p.fullscreen]
use_size = glfw.get_video_mode(monitor)[:2]
use_size = glfw.get_video_mode(monitor)[0][:2]
if use_size != tuple(p.size):
logger.debug('Requested size %s, will be ignored to '
'use fullscreen mode %s' % (p.size, use_size))
Expand Down

0 comments on commit 5b64114

Please sign in to comment.