From 6e64f600b662bbf5dd6cb63661504b67b60cddcd Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 24 Dec 2018 08:15:13 +0800 Subject: *stats --- src/libjin/game/je_application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libjin/game/je_application.cpp') 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:; -- cgit v1.1-26-g67d0