|
|
@@ -133,7 +133,7 @@ SDLCore::SDLCore(PolycodeView *view, int _xRes, int _yRes, bool fullScreen, bool
|
|
|
CoreServices::getInstance()->installModule(new GLSLShaderModule());
|
|
|
}
|
|
|
|
|
|
-void SDLCore::setVideoMode(int xRes, int yRes, bool fullScreen, bool vSync, int aaLevel, int anisotropyLevel) {
|
|
|
+void SDLCore::setVideoMode(int xRes, int yRes, bool fullScreen, bool vSync, int aaLevel, int anisotropyLevel, bool retinaSupport) {
|
|
|
this->xRes = xRes;
|
|
|
this->yRes = yRes;
|
|
|
this->fullScreen = fullScreen;
|
|
|
@@ -313,7 +313,7 @@ void SDLCore::Render() {
|
|
|
SDL_GL_SwapBuffers();
|
|
|
}
|
|
|
|
|
|
-bool SDLCore::Update() {
|
|
|
+bool SDLCore::systemUpdate() {
|
|
|
if(!running)
|
|
|
return false;
|
|
|
doSleep();
|
|
|
@@ -499,6 +499,11 @@ vector<String> SDLCore::openFilePicker(vector<CoreFileExtension> extensions, boo
|
|
|
return r;
|
|
|
}
|
|
|
|
|
|
+String SDLCore::saveFilePicker(std::vector<CoreFileExtension> extensions) {
|
|
|
+ String r = "";
|
|
|
+ return r;
|
|
|
+}
|
|
|
+
|
|
|
void SDLCore::resizeTo(int xRes, int yRes) {
|
|
|
renderer->Resize(xRes, yRes);
|
|
|
}
|