瀏覽代碼

Merge remote-tracking branch 'upstream/master'

Cameron Hart 14 年之前
父節點
當前提交
cbdbd917c5
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Core/Contents/Source/PolySDLCore.cpp

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

@@ -24,6 +24,10 @@
 
 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) {
 
 	String *windowTitle = (String*)view->windowData;