DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit efb32c19c706191d5c770e4b712af8a075a310d9
parent 69dcbb4aaa16ab25ae618902d1d5d7b39a17f63a
Author: falkTX <falktx@gmail.com>
Date:   Wed, 22 Jan 2014 00:26:29 +0000

another one

Diffstat:
Mdgl/src/pugl/pugl_osx.m | 16++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/dgl/src/pugl/pugl_osx.m b/dgl/src/pugl/pugl_osx.m @@ -24,6 +24,14 @@ #include "pugl_internal.h" +void +puglDisplay(PuglView* view) +{ + if (view->displayFunc) { + view->displayFunc(view); + } +} + @interface PuglWindow : NSWindow { @public @@ -403,14 +411,6 @@ puglDestroy(PuglView* view) free(view); } -void -puglDisplay(PuglView* view) -{ - if (view->displayFunc) { - view->displayFunc(view); - } -} - PuglStatus puglProcessEvents(PuglView* view) {