diff options
author | chai <chaifix@163.com> | 2018-12-20 19:52:11 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-12-20 19:52:11 +0800 |
commit | 2ff05671bd7c44d22ffec649b166e48270e412fc (patch) | |
tree | ec089c445c76fe357fd4cfdf78012b5eaa18bab4 /src/libjin-lua/embed/scripts/graphics.lua | |
parent | ee8ef0433e36bf354a717bd4af679a0a5af2e6be (diff) |
*修改embed script载入方式
Diffstat (limited to 'src/libjin-lua/embed/scripts/graphics.lua')
-rw-r--r-- | src/libjin-lua/embed/scripts/graphics.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libjin-lua/embed/scripts/graphics.lua b/src/libjin-lua/embed/scripts/graphics.lua index 0a66127..41c481c 100644 --- a/src/libjin-lua/embed/scripts/graphics.lua +++ b/src/libjin-lua/embed/scripts/graphics.lua @@ -1,5 +1,4 @@ -/* graphics.lua */ -static const char* graphics_lua = R"( + jin.graphics = jin.graphics or {} local jg = jin.graphics @@ -135,5 +134,3 @@ jg.reset = function() jg.unsetFont() jg.unuseShader() end - -)";
\ No newline at end of file |