mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
cogl: Fix spelling of CoglPipelineStateComparator
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1410
This commit is contained in:
parent
5ec9bde64f
commit
285f2a2124
@ -253,7 +253,7 @@ struct _CoglPipelineLayer
|
||||
};
|
||||
|
||||
typedef gboolean
|
||||
(*CoglPipelineLayerStateComparitor) (CoglPipelineLayer *authority0,
|
||||
(*CoglPipelineLayerStateComparator) (CoglPipelineLayer *authority0,
|
||||
CoglPipelineLayer *authority1);
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user