diff options
Diffstat (limited to 'src/lua/embed/graphics.lua.h')
-rw-r--r-- | src/lua/embed/graphics.lua.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lua/embed/graphics.lua.h b/src/lua/embed/graphics.lua.h index 1bad4f5..288d2f4 100644 --- a/src/lua/embed/graphics.lua.h +++ b/src/lua/embed/graphics.lua.h @@ -17,11 +17,12 @@ Vertex vert(Vertex v) Color frag(Color col, Texture tex, Vertex v) { - return col; + return col * texel(tex, v.uv); } #END_FRAGMENT_SHADER ]] + local _init = jin.graphics.init jin.graphics.init = function(setting) |