0

added (currently unchecked) global rendermode option support

This commit is contained in:
Aaron Griffith
2011-06-09 23:23:48 -04:00
parent b654f3169f
commit 6d667cb262
11 changed files with 86 additions and 17 deletions

View File

@@ -169,11 +169,11 @@ do_shading_with_mask(RenderModeLighting *self, RenderState *state,
}
static int
rendermode_lighting_start(void *data, RenderState *state) {
rendermode_lighting_start(void *data, RenderState *state, PyObject *options) {
RenderModeLighting* self;
/* first, chain up */
int ret = rendermode_normal.start(data, state);
int ret = rendermode_normal.start(data, state, options);
if (ret != 0)
return ret;