aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pugl/pugl_osx.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/pugl/pugl_osx.m b/pugl/pugl_osx.m
index c3dc03b..727022d 100644
--- a/pugl/pugl_osx.m
+++ b/pugl/pugl_osx.m
@@ -190,14 +190,14 @@ struct PuglPlatformDataImpl {
id window;
};
-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->width = width;
view->height = height;