Set correct strata for background render

Fixes #1478
This commit is contained in:
John Firebaugh
2015-05-11 17:47:18 -07:00
committed by Konstantin Käfer
parent b67ce2b09a
commit bc7e2b9b94

View File

@@ -277,6 +277,7 @@ void Painter::render(const Style& style, TransformState state_, TimePoint time)
}
} else {
const gl::group group("background");
setStrata(i * strata_thickness);
renderBackground(item.layer);
}
}