|
@@ -41,7 +41,7 @@ long getThreadID() {
|
|
|
return (long)pthread_self();
|
|
return (long)pthread_self();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-SDLCore::SDLCore(PolycodeView *view, int xRes, int yRes, bool fullScreen, bool vSync, int aaLevel, int anisotropyLevel, int frameRate) : Core(xRes, yRes, fullScreen, vSync, aaLevel, anisotropyLevel, frameRate) {
|
|
|
|
|
|
|
+SDLCore::SDLCore(PolycodeView *view, int xRes, int yRes, bool fullScreen, bool vSync, int aaLevel, int anisotropyLevel, int frameRate, int monitorIndex) : Core(xRes, yRes, fullScreen, vSync, aaLevel, anisotropyLevel, frameRate, monitorIndex) {
|
|
|
|
|
|
|
|
String *windowTitle = (String*)view->windowData;
|
|
String *windowTitle = (String*)view->windowData;
|
|
|
|
|
|
|
@@ -112,6 +112,9 @@ SDLCore::~SDLCore() {
|
|
|
SDL_Quit();
|
|
SDL_Quit();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+void SDLCore::openURL(String url) {
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
int SDLThreadFunc(void *data) {
|
|
int SDLThreadFunc(void *data) {
|
|
|
Threaded *target = (Threaded*)data;
|
|
Threaded *target = (Threaded*)data;
|
|
|
target->runThread();
|
|
target->runThread();
|