diff options
author | chai <chaifix@163.com> | 2019-01-14 16:40:14 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-01-14 16:40:14 +0800 |
commit | 98c9825c49a1674f59eafb3253829ca7d5cac3c1 (patch) | |
tree | bdd2a6da72fc998ff884b011a2260dc72537c25f /src/libjin/graphics/window.cpp | |
parent | 8b00d67febf133e89f6a0bfabc41feed555dc4a9 (diff) |
*rename source file
Diffstat (limited to 'src/libjin/graphics/window.cpp')
-rw-r--r-- | src/libjin/graphics/window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libjin/graphics/window.cpp b/src/libjin/graphics/window.cpp index 5701772..6171c9d 100644 --- a/src/libjin/graphics/window.cpp +++ b/src/libjin/graphics/window.cpp @@ -86,7 +86,7 @@ namespace JinEngine if (ctx == NULL) return false; - gl.initContext(); + gl.loadGL(); SDL_GL_SetSwapInterval(vsync ? 1 : 0); SDL_GL_MakeCurrent(mWnd, ctx); |