aboutsummaryrefslogtreecommitdiff
path: root/src/lua/embed/graphics.lua.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-11-01 08:40:29 +0800
committerchai <chaifix@163.com>2018-11-01 08:40:29 +0800
commit2a8b975d44661db15a566a57e7d6fbe428082aef (patch)
tree682e156af77d887bd8d6454d6d9624521d4b958a /src/lua/embed/graphics.lua.h
parentdde69cd088da0ae6f4a386ef952c3d8775bd6298 (diff)
*更新流程
Diffstat (limited to 'src/lua/embed/graphics.lua.h')
-rw-r--r--src/lua/embed/graphics.lua.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/embed/graphics.lua.h b/src/lua/embed/graphics.lua.h
index 671cacd..b2a19b5 100644
--- a/src/lua/embed/graphics.lua.h
+++ b/src/lua/embed/graphics.lua.h
@@ -17,7 +17,7 @@ Vertex vert(Vertex v)
Color frag(Color col, Texture tex, Vertex v)
{
- return col;
+ return col * texel(tex, v.uv);
}
#END_FRAGMENT_SHADER