forked from openlp/openlp
Disable OpenGL on windows to make webkit player work.
This commit is contained in:
parent
85c329fb26
commit
7d677025b5
@ -90,7 +90,7 @@ class Display(QtWidgets.QGraphicsView):
|
|||||||
# OpenGL. Only white blank screen is shown on the 2nd monitor all the
|
# OpenGL. Only white blank screen is shown on the 2nd monitor all the
|
||||||
# time. We need to investigate more how to use OpenGL properly on Mac OS
|
# time. We need to investigate more how to use OpenGL properly on Mac OS
|
||||||
# X.
|
# X.
|
||||||
if not is_macosx():
|
if not is_macosx() and not is_win():
|
||||||
self.setViewport(QtOpenGL.QGLWidget())
|
self.setViewport(QtOpenGL.QGLWidget())
|
||||||
|
|
||||||
def setup(self):
|
def setup(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user