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

oups

parent 3e4e1516
No related branches found
No related tags found
No related merge requests found
......@@ -249,7 +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)
shader.shad:paramNumber2("textSize", 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