Skip to content
Snippets Groups Projects
Commit 3ced3238 authored by dg's avatar dg
Browse files

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@5492 51575b47-30f0-44d4-a5cc-537603b46e54
parent 2ef0fc85
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ function _M:init(name, args)
self.totalname = self:makeTotalName()
-- print("[SHADER] making shader from", name, " into ", self.totalname)
if args.require_shader then
if args and args.require_shader then
if not core.shader.active(args.require_shader) then return end
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