aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/win.c
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/detail/win.c')
-rw-r--r--pugl/detail/win.c17
1 files changed, 6 insertions, 11 deletions
diff --git a/pugl/detail/win.c b/pugl/detail/win.c
index 0c8078f..409cc98 100644
--- a/pugl/detail/win.c
+++ b/pugl/detail/win.c
@@ -459,8 +459,6 @@ handleConfigure(PuglView* view, PuglEvent* event)
if (view->frame.width != width || view->frame.height != height) {
view->frame.width = width;
view->frame.height = height;
-
- view->backend->resize(view, width, height);
}
return rect;
@@ -1037,15 +1035,12 @@ puglWinStubLeave(PuglView* view, const PuglEventExpose* expose)
const PuglBackend*
puglStubBackend(void)
{
- static const PuglBackend backend = {
- puglWinStubConfigure,
- puglStubCreate,
- puglStubDestroy,
- puglWinStubEnter,
- puglWinStubLeave,
- puglStubResize,
- puglStubGetContext,
- };
+ static const PuglBackend backend = {puglWinStubConfigure,
+ puglStubCreate,
+ puglStubDestroy,
+ puglWinStubEnter,
+ puglWinStubLeave,
+ puglStubGetContext};
return &backend;
}