2
0
Эх сурвалжийг харах

Fixed the SDL build in Mingw (hopefully!)

Ivan Safrin 14 жил өмнө
parent
commit
486cfee552

+ 4 - 0
Core/Contents/Source/PolySDLCore.cpp

@@ -24,6 +24,10 @@
 
 
 using namespace Polycode;
 using namespace Polycode;
 
 
+long getThreadID() {
+	return (long)pthread_self();
+}
+
 SDLCore::SDLCore(PolycodeViewBase *view, int xRes, int yRes, bool fullScreen,int aaLevel, int frameRate) : Core(xRes, yRes, fullScreen,aaLevel, frameRate) {
 SDLCore::SDLCore(PolycodeViewBase *view, int xRes, int yRes, bool fullScreen,int aaLevel, int frameRate) : Core(xRes, yRes, fullScreen,aaLevel, frameRate) {
 
 
 	String *windowTitle = (String*)view->windowData;
 	String *windowTitle = (String*)view->windowData;