ios stuff
This commit is contained in:
1 parent
6c7fd92820
commit
8ec1ba5e74
10 files changed
+1029
-901
No files matched your search
@@ -7,10 +7,12 @@
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#import <GLKit/GLKit.h>
|
||||
#include "include/Utils/Utils.h"
|
||||
|
||||
|
||||
GLKView* defaultView = 0; //Need to be set up by App!
|
||||
|
||||
namespace SE
|
||||
{
|
||||
|
||||
@@ -46,6 +48,11 @@ std::string IosGetFilePathUserData(const std::string& filename)
|
||||
|
||||
return std::string([[NSFileManager defaultManager] fileSystemRepresentationWithPath:file]);
|
||||
}
|
||||
|
||||
void IosSwitchToScreen()
|
||||
{
|
||||
[defaultView bindDrawable];
|
||||
}
|
||||
|
||||
} //namespace SE
|
||||
|
||||
Reference in new issue
Block a user