Merge pull request #584 from tbreloff/sd/dev

fix closing window
This commit is contained in:
Tom Breloff 2016-11-22 11:25:13 -05:00 committed by GitHub
commit ab7a73c879

View File

@ -159,12 +159,12 @@ function create_window(plt::Plot{GLVisualizeBackend}, visible)
# make sure we have any screen open # make sure we have any screen open
if isempty(GLVisualize.get_screens()) if isempty(GLVisualize.get_screens())
# create a fresh, new screen # create a fresh, new screen
screen = GLVisualize.glscreen( s = GLVisualize.glscreen(
"Plot", "Plot",
resolution = plt[:size], resolution = plt[:size],
visible = visible visible = visible
) )
@async GLWindow.waiting_renderloop(screen) @async GLWindow.waiting_renderloop(s)
end end
# now lets get ourselves a permanent Plotting screen # now lets get ourselves a permanent Plotting screen
plot_screens = get_plot_screen(GLVisualize.get_screens(), name) plot_screens = get_plot_screen(GLVisualize.get_screens(), name)