Unbreak drawing of DEPTH_ONLY meshes via OpenGL 2 batch canvas.
parent
61f248899a
commit
01ae452507
|
@ -852,8 +852,8 @@ struct CompareDrawCall {
|
||||||
bool operator()(const std::shared_ptr<DrawCall> &a, const std::shared_ptr<DrawCall> &b) {
|
bool operator()(const std::shared_ptr<DrawCall> &a, const std::shared_ptr<DrawCall> &b) {
|
||||||
const Canvas::Layer stackup[] = {
|
const Canvas::Layer stackup[] = {
|
||||||
Canvas::Layer::BACK,
|
Canvas::Layer::BACK,
|
||||||
Canvas::Layer::NORMAL,
|
|
||||||
Canvas::Layer::DEPTH_ONLY,
|
Canvas::Layer::DEPTH_ONLY,
|
||||||
|
Canvas::Layer::NORMAL,
|
||||||
Canvas::Layer::OCCLUDED,
|
Canvas::Layer::OCCLUDED,
|
||||||
Canvas::Layer::FRONT
|
Canvas::Layer::FRONT
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue