summaryrefslogtreecommitdiff
path: root/dgl/src
diff options
context:
space:
mode:
authorfalkTX <falktx@gmail.com>2018-09-30 10:02:11 +0200
committerfalkTX <falktx@gmail.com>2018-09-30 10:02:11 +0200
commit2d02c43c6dad446ea20983ba2b9cb5b19d05ae45 (patch)
treeb2ec7376c59590e3efdad91e9741e746a9c60398 /dgl/src
parent7cf42d65ebab1544583120c4da9981ac1b8b5a43 (diff)
Fix build and fix a few typos
Diffstat (limited to 'dgl/src')
-rw-r--r--dgl/src/pugl/pugl_osx.m12
-rw-r--r--dgl/src/pugl/pugl_win.cpp12
2 files changed, 24 insertions, 0 deletions
diff --git a/dgl/src/pugl/pugl_osx.m b/dgl/src/pugl/pugl_osx.m
index f9570333..738103f3 100644
--- a/dgl/src/pugl/pugl_osx.m
+++ b/dgl/src/pugl/pugl_osx.m
@@ -559,3 +559,15 @@ puglGetNativeWindow(PuglView* view)
{
return (PuglNativeWindow)view->impl->glview;
}
+
+int
+puglUpdateGeometryConstraints(PuglView* view, int min_width, int min_height, bool aspect)
+{
+ // TODO
+ return 1;
+
+ (void)view;
+ (void)min_width;
+ (void)min_height;
+ (void)aspect;
+}
diff --git a/dgl/src/pugl/pugl_win.cpp b/dgl/src/pugl/pugl_win.cpp
index 5d0cd876..9990b8ef 100644
--- a/dgl/src/pugl/pugl_win.cpp
+++ b/dgl/src/pugl/pugl_win.cpp
@@ -468,3 +468,15 @@ puglGetNativeWindow(PuglView* view)
{
return (PuglNativeWindow)view->impl->hwnd;
}
+
+int
+puglUpdateGeometryConstraints(PuglView* view, int min_width, int min_height, bool aspect)
+{
+ // TODO
+ return 1;
+
+ (void)view;
+ (void)min_width;
+ (void)min_height;
+ (void)aspect;
+}