Cleanup: correct function signatures
This commit is contained in:
@@ -112,7 +112,7 @@ void BLI_init_srgb_conversion(void);
|
||||
|
||||
MINLINE void premul_to_straight_v4_v4(float straight[4], const float premul[4]);
|
||||
MINLINE void premul_to_straight_v4(float color[4]);
|
||||
MINLINE void straight_to_premul_v4_v4(float straight[4], const float premul[4]);
|
||||
MINLINE void straight_to_premul_v4_v4(float premul[4], const float straight[4]);
|
||||
MINLINE void straight_to_premul_v4(float color[4]);
|
||||
MINLINE void straight_uchar_to_premul_float(float result[4], const unsigned char color[4]);
|
||||
MINLINE void premul_float_to_straight_uchar(unsigned char *result, const float color[4]);
|
||||
|
||||
@@ -76,7 +76,7 @@ void immAttr4fv(uint attr_id, const float data[4]);
|
||||
void immAttr3ub(uint attr_id, unsigned char r, unsigned char g, unsigned char b);
|
||||
void immAttr4ub(uint attr_id, unsigned char r, unsigned char g, unsigned char b, unsigned char a);
|
||||
|
||||
void immAttr3ubv(uint attr_id, const unsigned char data[4]);
|
||||
void immAttr3ubv(uint attr_id, const unsigned char data[3]);
|
||||
void immAttr4ubv(uint attr_id, const unsigned char data[4]);
|
||||
|
||||
/* Explicitly skip an attribute. */
|
||||
|
||||
@@ -151,8 +151,8 @@ static Mesh *applyModifier(
|
||||
|
||||
return result ? result : mesh;
|
||||
#else
|
||||
return mesh;
|
||||
UNUSED_VARS(ctx, md);
|
||||
return mesh;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user