Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mkassner committed Feb 11, 2014
1 parent dde9edc commit 4323074
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pupil_src/player/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ def get_from_data(data):


if __name__ == '__main__':
if 0:
if 1:
main()
else:
import cProfile,subprocess,os
Expand Down
3 changes: 3 additions & 0 deletions pupil_src/shared_modules/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4323074

Please sign in to comment.