ios stuff

This commit is contained in:
vladislav.khorev committed 2013-01-28 09:51:30 +00:00
1 parent 6c7fd92820
commit 8ec1ba5e74
10 files changed
+1029 -901

No files matched your search

+8 -1
View File
@@ -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