cogl: Fix spelling of CoglPipelineStateComparator

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1410
This commit is contained in:
Björn Daase 2020-08-26 11:50:08 +02:00 committed by Robert Mader
parent 5ec9bde64f
commit 285f2a2124
4 changed files with 7 additions and 7 deletions

View File

@ -253,7 +253,7 @@ struct _CoglPipelineLayer
};
typedef gboolean
(*CoglPipelineLayerStateComparitor) (CoglPipelineLayer *authority0,
(*CoglPipelineLayerStateComparator) (CoglPipelineLayer *authority0,
CoglPipelineLayer *authority1);

View File

@ -575,9 +575,9 @@ static gboolean
layer_state_equal (CoglPipelineLayerStateIndex state_index,
CoglPipelineLayer **authorities0,
CoglPipelineLayer **authorities1,
CoglPipelineLayerStateComparitor comparitor)
CoglPipelineLayerStateComparator comparator)
{
return comparitor (authorities0[state_index], authorities1[state_index]);
return comparator (authorities0[state_index], authorities1[state_index]);
}
void

View File

@ -457,14 +457,14 @@ _cogl_pipeline_get_authority (CoglPipeline *pipeline,
return authority;
}
typedef gboolean (*CoglPipelineStateComparitor) (CoglPipeline *authority0,
typedef gboolean (*CoglPipelineStateComparator) (CoglPipeline *authority0,
CoglPipeline *authority1);
void
_cogl_pipeline_update_authority (CoglPipeline *pipeline,
CoglPipeline *authority,
CoglPipelineState state,
CoglPipelineStateComparitor comparitor);
CoglPipelineStateComparator comparator);
void
_cogl_pipeline_pre_change_notify (CoglPipeline *pipeline,

View File

@ -2206,7 +2206,7 @@ void
_cogl_pipeline_update_authority (CoglPipeline *pipeline,
CoglPipeline *authority,
CoglPipelineState state,
CoglPipelineStateComparitor comparitor)
CoglPipelineStateComparator comparator)
{
/* If we are the current authority see if we can revert to one of
* our ancestors being the authority */
@ -2217,7 +2217,7 @@ _cogl_pipeline_update_authority (CoglPipeline *pipeline,
CoglPipeline *old_authority =
_cogl_pipeline_get_authority (parent, state);
if (comparitor (authority, old_authority))
if (comparator (authority, old_authority))
pipeline->differences &= ~state;
}
else if (pipeline != authority)