summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-30 01:56:23 +0000
committerDavid Robillard <d@drobilla.net>2012-04-30 01:56:23 +0000
commit3ea652aedce737a12238fb197c8b37a6b0c025bc (patch)
tree6f03d3d96963383f4d084cb2441c2e00f0ad710c
parent10d37a3f559e3c94101253227954ddc08d845f6a (diff)
Fix missed PuglView change for OSX.
-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;