Browse Source

Fix puglLeaveContext on linux

gh-pages
falkTX 10 years ago
parent
commit
b1353c55a6
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      dgl/src/pugl/pugl_x11.c

+ 3
- 1
dgl/src/pugl/pugl_x11.c View File

@@ -356,6 +356,8 @@ puglReshape(PuglView* view, int width, int height)
puglDefaultReshape(view, width, height);
}

puglLeaveContext(view, false);

view->width = width;
view->height = height;
}
@@ -371,7 +373,7 @@ puglDisplay(PuglView* view)
view->displayFunc(view);
}

puglLeaveContext(view);
puglLeaveContext(view, true);
}

static PuglKey


Loading…
Cancel
Save