aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Game/Game.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-10-14 22:52:40 +0800
committerchai <chaifix@163.com>2018-10-14 22:52:40 +0800
commitb1bbc998960fff2169dc5a992c47d08723472f9b (patch)
tree220f3bd5de2266e248884e11161dd715d7632ef2 /src/libjin/Game/Game.cpp
parentfbf989f9950a38566e0fb0fc5b6a7aebc9f0fb45 (diff)
*直接渲染字符串
Diffstat (limited to 'src/libjin/Game/Game.cpp')
-rw-r--r--src/libjin/Game/Game.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libjin/Game/Game.cpp b/src/libjin/Game/Game.cpp
index 6dc75ce..f4e672d 100644
--- a/src/libjin/Game/Game.cpp
+++ b/src/libjin/Game/Game.cpp
@@ -46,6 +46,7 @@ namespace core
if (_onDraw != nullptr)
_onDraw();
wnd->swapBuffers();
+ sleep(1);
}
quitloop:;
}