X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b6ccc13c2fd78a1165782fd5b5bdd2950fb8fb2e..f050bdbd5b69ed1a6752102f0c4c13bc7cb4ed3c:/src/osx/glcanvas_osx.cpp diff --git a/src/osx/glcanvas_osx.cpp b/src/osx/glcanvas_osx.cpp index 465e0d06db..56f74a7f41 100644 --- a/src/osx/glcanvas_osx.cpp +++ b/src/osx/glcanvas_osx.cpp @@ -35,8 +35,6 @@ #include "wx/osx/private.h" -#include - // ---------------------------------------------------------------------------- // wxGLCanvas // ---------------------------------------------------------------------------- @@ -147,15 +145,6 @@ bool wxGLCanvasBase::IsDisplaySupported(const int *attribList) return true; } -bool wxGLCanvas::SwapBuffers() -{ - WXGLContext context = WXGLGetCurrentContext(); - wxCHECK_MSG(context, false, _T("should have current context")); - - WXGLSwapBuffers(context); - return true; -} - bool wxGLCanvasBase::IsExtensionSupported(const char *extension) { // we need a valid context to query for extensions.