aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pugl/pugl_win.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pugl/pugl_win.cpp b/pugl/pugl_win.cpp
index f73d9da..f487352 100644
--- a/pugl/pugl_win.cpp
+++ b/pugl/pugl_win.cpp
@@ -48,14 +48,14 @@ wndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
}
}
-PuglWindow*
+PuglView*
puglCreate(PuglNativeWindow parent,
const char* title,
int width,
int height,
bool resizable)
{
- PuglView* view = (PuglWindow*)calloc(1, sizeof(PuglWindow));
+ PuglView* view = (PuglView*)calloc(1, sizeof(PuglView));
view->impl = (PuglPlatformData*)calloc(1, sizeof(PuglPlatformData));