mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 07:56:14 -05:00
cogl-pipeline-fragend-arbfp: Initialise template_pipeline
The template_pipeline variable in _cogl_pipeline_fragend_arbfp_start was not being initialised if the program caches are disabled with COGL_DEBUG=disable-program-caches so it would crash. The other backends have a similar variable but they already initialise it. https://bugzilla.gnome.org/show_bug.cgi?id=655400
This commit is contained in:
parent
a9184d5cb7
commit
1287d26444
@ -152,7 +152,7 @@ _cogl_pipeline_fragend_arbfp_start (CoglPipeline *pipeline,
|
||||
{
|
||||
CoglPipelineShaderState *shader_state;
|
||||
CoglPipeline *authority;
|
||||
CoglPipeline *template_pipeline;
|
||||
CoglPipeline *template_pipeline = NULL;
|
||||
CoglHandle user_program;
|
||||
|
||||
_COGL_GET_CONTEXT (ctx, FALSE);
|
||||
|
Loading…
Reference in New Issue
Block a user