07-21-2016, 02:42 PM
This fix the problem:
there is another problem I'm checking
Code:
RenderPass =
lists:foldl(fun(N, Acc) ->
Id = list_to_atom("render_pass"++integer_to_list(N)),
Acc++[{Id,?DEF_RENDER_PASS}]
end, [], lists:seq(1,32)),