]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/glcanvas.h
fixing typo
[wxWidgets.git] / include / wx / osx / glcanvas.h
index 62b5c001beebbcb8cdd8ffbe960eba71642503f6..ff97bdf0eff8576305b445ec284286fd6da94cfd 100644 (file)
 #ifdef __WXOSX_IPHONE__
 #import <OpenGLES/ES1/gl.h>
 #import <OpenGLES/ES1/glext.h>
+#define wxUSE_OPENGL_EMULATION 1
 #else
 #include <OpenGL/gl.h>
 #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 );