aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_osx.m
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 /pugl/pugl_osx.m
parent10d37a3f559e3c94101253227954ddc08d845f6a (diff)
downloadpugl-3ea652aedce737a12238fb197c8b37a6b0c025bc.tar.gz
pugl-3ea652aedce737a12238fb197c8b37a6b0c025bc.tar.bz2
pugl-3ea652aedce737a12238fb197c8b37a6b0c025bc.zip
Fix missed PuglView change for OSX.
Diffstat (limited to 'pugl/pugl_osx.m')
-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;