add iOS support

This commit is contained in:
2017-05-07 23:49:46 +01:00
parent b50011babf
commit d1ce547abd
16 changed files with 682 additions and 20 deletions

View File

@@ -8,11 +8,12 @@
#include "keymap.h"
#ifdef __APPLE__
#ifdef TARGET_OS_OSX
#include <CoreFoundation/CoreFoundation.h>
#include <Cocoa/Cocoa.h>
#include <CoreVideo/CoreVideo.h>
#include <OpenGL/OpenGL.h>
@interface View : NSOpenGLView
{
CVDisplayLinkRef dl;
@@ -360,6 +361,7 @@ int main(int argc, const char * argv[])
return 0;
}
#endif
#endif
#ifdef _WIN32