diff options
Diffstat (limited to 'pugl/detail/mac_gl.m')
-rw-r--r-- | pugl/detail/mac_gl.m | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/pugl/detail/mac_gl.m b/pugl/detail/mac_gl.m index b0d6c5e..d6add02 100644 --- a/pugl/detail/mac_gl.m +++ b/pugl/detail/mac_gl.m @@ -1,5 +1,5 @@ /* - Copyright 2019 David Robillard <http://drobilla.net> + Copyright 2019-2020 David Robillard <http://drobilla.net> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above @@ -147,16 +147,6 @@ puglMacGlLeave(PuglView* view, const PuglEventExpose* expose) return PUGL_SUCCESS; } -static PuglStatus -puglMacGlResize(PuglView* view, int PUGL_UNUSED(width), int PUGL_UNUSED(height)) -{ - PuglOpenGLView* const drawView = (PuglOpenGLView*)view->impl->drawView; - - [drawView reshape]; - - return PUGL_SUCCESS; -} - PuglGlFunc puglGetProcAddress(const char *name) { @@ -181,7 +171,7 @@ const PuglBackend* puglGlBackend(void) puglMacGlDestroy, puglMacGlEnter, puglMacGlLeave, - puglMacGlResize, + puglStubResize, puglStubGetContext}; return &backend; |