From 11b32b2461d3a670c2568b17b9f7c0a56e0e4678 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 17 Jan 2014 22:52:43 +0000 Subject: Fix compilation error on Windows. I think. --- pugl/pugl_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pugl/pugl_win.cpp b/pugl/pugl_win.cpp index dbe0649..5f85d12 100644 --- a/pugl/pugl_win.cpp +++ b/pugl/pugl_win.cpp @@ -97,7 +97,7 @@ puglCreate(PuglNativeWindow parent, impl->hwnd = CreateWindowEx( WS_EX_TOPMOST, classNameBuf, title, - (addToDesktop ? WS_VISIBLE : 0) | (parent ? WS_CHILD : winFlags), + (visible ? WS_VISIBLE : 0) | (parent ? WS_CHILD : winFlags), 0, 0, wr.right-wr.left, wr.bottom-wr.top, (HWND)parent, NULL, NULL, NULL); -- cgit v1.2.1