From d2dab054869171ba2659001e4f4c48646ea645b5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 27 Jun 2019 22:45:42 +0200 Subject: Remove dead code on Windows --- pugl/pugl_win.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/pugl/pugl_win.cpp b/pugl/pugl_win.cpp index 7f1a4f0..36cd4ad 100644 --- a/pugl/pugl_win.cpp +++ b/pugl/pugl_win.cpp @@ -60,22 +60,6 @@ struct PuglInternalsImpl { LRESULT CALLBACK wndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam); -PuglView* -puglInit() -{ - PuglView* view = (PuglView*)calloc(1, sizeof(PuglView)); - PuglInternals* impl = (PuglInternals*)calloc(1, sizeof(PuglInternals)); - if (!view || !impl) { - return NULL; - } - - view->impl = impl; - view->width = 640; - view->height = 480; - - return view; -} - PuglInternals* puglInitInternals(void) { @@ -456,7 +440,6 @@ handleMessage(PuglView* view, UINT message, WPARAM wParam, LPARAM lParam) RECT rect; MINMAXINFO* mmi; POINT pt; - bool dispatchThisEvent = true; memset(&event, 0, sizeof(event)); -- cgit v1.2.1