mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
Add a warning message when no usable Cogl pipeline backend is found
If none of the pipeline backends can handle the state then it now displays a warning so the developer has a chance to work out what's going on.
This commit is contained in:
parent
cda5ea771b
commit
8083167be9
@ -1165,6 +1165,9 @@ _cogl_pipeline_flush_gl_state (CoglPipeline *pipeline,
|
||||
break;
|
||||
}
|
||||
|
||||
if (G_UNLIKELY (i >= G_N_ELEMENTS (_cogl_pipeline_backends)))
|
||||
g_warning ("No usable pipeline backend was found!");
|
||||
|
||||
/* FIXME: This reference is actually resulting in lots of
|
||||
* copy-on-write reparenting because one-shot pipelines end up
|
||||
* living for longer than necessary and so any later modification of
|
||||
|
Loading…
Reference in New Issue
Block a user