diff options
Diffstat (limited to 'pugl')
-rw-r--r-- | pugl/pugl_internal.h | 2 | ||||
-rw-r--r-- | pugl/pugl_x11.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pugl/pugl_internal.h b/pugl/pugl_internal.h index 15e2f0a..61d287a 100644 --- a/pugl/pugl_internal.h +++ b/pugl/pugl_internal.h @@ -64,7 +64,7 @@ puglGetModifiers(PuglView* view) return view->mods; } -void +static inline void puglDefaultReshape(PuglView* view, int width, int height) { glMatrixMode(GL_PROJECTION); diff --git a/pugl/pugl_x11.c b/pugl/pugl_x11.c index f3debec..16b0cd7 100644 --- a/pugl/pugl_x11.c +++ b/pugl/pugl_x11.c @@ -169,7 +169,7 @@ puglDestroy(PuglView* view) free(view); } -void +static void puglReshape(PuglView* view, int width, int height) { glXMakeCurrent(view->impl->display, view->impl->win, view->impl->ctx); @@ -184,7 +184,7 @@ puglReshape(PuglView* view, int width, int height) view->height = height; } -void +static void puglDisplay(PuglView* view) { glXMakeCurrent(view->impl->display, view->impl->win, view->impl->ctx); |