mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
cogl: Fix const qualifier usage
This commit is contained in:
parent
c55004864d
commit
bbd295ae09
@ -52,7 +52,7 @@ typedef enum
|
||||
|
||||
typedef struct _CoglAttributeNameState
|
||||
{
|
||||
char *name;
|
||||
const char *name;
|
||||
CoglAttributeNameID name_id;
|
||||
int name_index;
|
||||
CoglBool normalized_default;
|
||||
|
@ -67,7 +67,7 @@ COGL_GTYPE_DEFINE_CLASS (Attribute, attribute);
|
||||
|
||||
static CoglBool
|
||||
validate_cogl_attribute_name (const char *name,
|
||||
char **real_attribute_name,
|
||||
const char **real_attribute_name,
|
||||
CoglAttributeNameID *name_id,
|
||||
CoglBool *normalized,
|
||||
int *layer_number)
|
||||
|
@ -389,7 +389,7 @@ strideof (CoglAttributeType type, int n_components)
|
||||
static char *
|
||||
canonize_attribute_name (const char *attribute_name)
|
||||
{
|
||||
char *detail_seperator = NULL;
|
||||
const char *detail_seperator = NULL;
|
||||
int name_len;
|
||||
|
||||
if (strncmp (attribute_name, "gl_", 3) != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user