c/main: Print error on bad fast path state

This commit is contained in:
Jakob Bornecrantz 2023-10-01 12:44:49 +01:00
parent 3c82beb1a1
commit 0fa30c0fbe

View file

@ -964,6 +964,10 @@ dispatch_graphics(struct comp_renderer *r, struct render_gfx *rr)
do_gfx_mesh_and_proj(r, rr, rtr, layer, lvd, rvd);
} else if (fast_path) {
COMP_ERROR(c, "Fast path on but no projection layer, can't use layer renderer!");
} else {
renderer_get_view_projection(r);