X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03647350fc7cd141953c72e0284e928847d30f44..ebfee17940b5123d0527b63bcf23e5f27002092e:/include/wx/osx/glcanvas.h diff --git a/include/wx/osx/glcanvas.h b/include/wx/osx/glcanvas.h index 62b5c001be..ff97bdf0ef 100644 --- a/include/wx/osx/glcanvas.h +++ b/include/wx/osx/glcanvas.h @@ -15,17 +15,20 @@ #ifdef __WXOSX_IPHONE__ #import #import +#define wxUSE_OPENGL_EMULATION 1 #else #include #endif +#include "wx/vector.h" + // low level calls WXDLLIMPEXP_GL WXGLContext WXGLCreateContext( WXGLPixelFormat pixelFormat, WXGLContext shareContext ); WXDLLIMPEXP_GL void WXGLDestroyContext( WXGLContext context ); + WXDLLIMPEXP_GL WXGLContext WXGLGetCurrentContext(); WXDLLIMPEXP_GL bool WXGLSetCurrentContext(WXGLContext context); -WXDLLIMPEXP_GL void WXGLSwapBuffers( WXGLContext context ); WXDLLIMPEXP_GL WXGLPixelFormat WXGLChoosePixelFormat(const int *attribList); WXDLLIMPEXP_GL void WXGLDestroyPixelFormat( WXGLPixelFormat pixelFormat );