diff options
author | chai <chaifix@163.com> | 2018-12-22 10:46:06 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-12-22 10:46:06 +0800 |
commit | 71416cb4b388956d6132f6c8b5b77b0fb38b7a27 (patch) | |
tree | ca1c9609f3c793a636b0f085e7176c71fb0003a2 /src/libjin-lua/embed/scripts/graphics/graphics.lua | |
parent | 1df83e68bc08bc3f9b429b794fc2e4ba86389dde (diff) |
*修改vector分量别名
Diffstat (limited to 'src/libjin-lua/embed/scripts/graphics/graphics.lua')
-rw-r--r-- | src/libjin-lua/embed/scripts/graphics/graphics.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libjin-lua/embed/scripts/graphics/graphics.lua b/src/libjin-lua/embed/scripts/graphics/graphics.lua index 8b16a35..65a320f 100644 --- a/src/libjin-lua/embed/scripts/graphics/graphics.lua +++ b/src/libjin-lua/embed/scripts/graphics/graphics.lua @@ -26,7 +26,7 @@ jg.SpriteMode = { ANIMATED = 3 } --- Built in shaders +-- Built in shaders. jg.Shaders = nil local function compileBuiltInShaders() if jg.Shaders ~= nil then @@ -75,7 +75,7 @@ local function compileBuiltInShaders() } #END_FRAGMENT_SHADER ]] - jg.Shaders.SpriteSheet = jg.newShader[[ + jg.Shaders.SpriteBatch = jg.newShader[[ #VERTEX_SHADER Vertex vert(Vertex v) { |