diff options
| author | chai <chaifix@163.com> | 2018-12-24 08:15:13 +0800 |
|---|---|---|
| committer | chai <chaifix@163.com> | 2018-12-24 08:15:13 +0800 |
| commit | 6e64f600b662bbf5dd6cb63661504b67b60cddcd (patch) | |
| tree | 23d4a4f7e5e837715af63d9077e51373b0abc188 /src/libjin/game | |
| parent | 145e0752c702fa354fb78d3f30fa4b8ec44bfe7b (diff) | |
*stats
Diffstat (limited to 'src/libjin/game')
| -rw-r--r-- | src/libjin/game/je_application.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libjin/game/je_application.cpp b/src/libjin/game/je_application.cpp index faf9d1f..24629d4 100644 --- a/src/libjin/game/je_application.cpp +++ b/src/libjin/game/je_application.cpp @@ -53,7 +53,7 @@ namespace JinEngine glClear(GL_COLOR_BUFFER_BIT); if (_onDraw != nullptr) _onDraw(); - wnd->swapBuffers(); + wnd->present(); sleep(16); } quitloop:; |
