aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-06-27 22:45:42 +0200
committerDavid Robillard <d@drobilla.net>2019-06-27 22:46:10 +0200
commitd2dab054869171ba2659001e4f4c48646ea645b5 (patch)
tree4ba7eacdf0a7bff307e71d24264e7f374fdc2f49
parent3d535a3f299e4bc20787032de718b0198ae53bae (diff)
Remove dead code on Windows
-rw-r--r--pugl/pugl_win.cpp17
1 files changed, 0 insertions, 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));