diff options
author | chai <chaifix@163.com> | 2018-05-16 19:19:03 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-05-16 19:19:03 +0800 |
commit | d45064be602c3becb046d86913ea8013774b0079 (patch) | |
tree | 5e2e995c2139b934ed50f75d0a31eae7180aab59 /src/lua/graphics/luaopen_graphics.cpp | |
parent | fdaf0e7eb6b9d9bdd7d5ab5f814f4ebbf791ff67 (diff) |
v0.1.0
Diffstat (limited to 'src/lua/graphics/luaopen_graphics.cpp')
-rw-r--r-- | src/lua/graphics/luaopen_graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/graphics/luaopen_graphics.cpp b/src/lua/graphics/luaopen_graphics.cpp index 8772744..490f560 100644 --- a/src/lua/graphics/luaopen_graphics.cpp +++ b/src/lua/graphics/luaopen_graphics.cpp @@ -148,7 +148,7 @@ namespace lua */ static int l_present(lua_State* L) { - SDL_GL_SwapWindow(Window::get()->getWnd()); + Window::get()->swapBuffers(); return 0; } |