diff --git a/pupil_src/player/main.py b/pupil_src/player/main.py index 2fcbbb002b..fcca0b8fc7 100644 --- a/pupil_src/player/main.py +++ b/pupil_src/player/main.py @@ -436,7 +436,7 @@ def get_from_data(data): if __name__ == '__main__': - if 0: + if 1: main() else: import cProfile,subprocess,os diff --git a/pupil_src/shared_modules/plugin.py b/pupil_src/shared_modules/plugin.py index ea4de92fb9..6518addc5e 100644 --- a/pupil_src/shared_modules/plugin.py +++ b/pupil_src/shared_modules/plugin.py @@ -148,7 +148,10 @@ def open_window(self): gl.glBlendFunc(gl.GL_SRC_ALPHA, gl.GL_ONE_MINUS_SRC_ALPHA) gl.glEnable(gl.GL_BLEND) gl.glClearColor(1.,1.,1.,0.) + + # refresh speed settings glfwSwapInterval(0) + glfwMakeContextCurrent(active_window) self.window_should_open = False