Skip to content
Snippets Groups Projects
Commit 3e4e1516 authored by DarkGod's avatar DarkGod
Browse files

pass text size

parent 6d083bcb
No related branches found
No related tags found
No related merge requests found
......@@ -249,6 +249,7 @@ function _M:toScreen()
if self.shadow then
if shader.shad then
shader.shad:use(true)
shader.shad:paramNumber2(item._tex_w, item._tex_h)
else
item._tex:toScreenFull(self.display_x+2, h+2, item.w, item.h, item._tex_w, item._tex_h, 0,0,0, self.shadow * fade)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment