local new_render_target = render.render_target("custom", render_target_settings)
gives me this error:
ERROR:SCRIPT: render/game.render_script:19: bad argument #4 to 'render_target' (number expected, got string)
stack traceback:
[C]: in function 'render_target'
render/game.render_script:19: in function <render/game.render_script:1>
Regardless of what i put in the render_target_settings-table
I’m getting this while developing on Win7 and Win8
and the error-message threw me off because it said something about argument #4, and there are only two arguments in the function call.
I couldn’t see in the reference documentation how you are supposed to set up the function call and the setup doesn’t seem that intuitive to me, so an example in there would be great.