diff options
Diffstat (limited to 'src/script/graphics/luaopen_graphics.cpp')
-rw-r--r-- | src/script/graphics/luaopen_graphics.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/script/graphics/luaopen_graphics.cpp b/src/script/graphics/luaopen_graphics.cpp index 50b1921..6e78e36 100644 --- a/src/script/graphics/luaopen_graphics.cpp +++ b/src/script/graphics/luaopen_graphics.cpp @@ -19,11 +19,8 @@ namespace lua static struct { color curRenderColor; - Font* curFont = 0; - Font* defaultFont = 0; - } context; /** @@ -40,10 +37,6 @@ namespace lua setting.vsync = luax_getfield_bool(L, 1, "vsync"); wnd->init(setting); - // set default blend method - glEnable(GL_BLEND); - glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); - // init success luax_pushboolean(L, true); return 1; |