diff options
author | David Robillard <d@drobilla.net> | 2012-08-09 14:55:48 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-09 14:55:48 +0000 |
commit | 5ecc055c068ccd13c4e4129a97a2aec4f505866e (patch) | |
tree | 3f33561ee7c6ecc57c00ac6ab81d17feb959bbca /pugl | |
parent | c8b6dddd42420e07c9f0b7b1eb8614547e821dec (diff) | |
download | pugl-5ecc055c068ccd13c4e4129a97a2aec4f505866e.tar.gz pugl-5ecc055c068ccd13c4e4129a97a2aec4f505866e.tar.bz2 pugl-5ecc055c068ccd13c4e4129a97a2aec4f505866e.zip |
Fix lax prototypes.
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); |