GPU: Fix shader builder compilation
Was missing a stub.
This commit is contained in:
@@ -111,7 +111,7 @@ void BKE_id_attribute_copy_domains_temp(short UNUSED(id_type),
|
||||
const struct CustomData *UNUSED(ldata),
|
||||
const struct CustomData *UNUSED(pdata),
|
||||
const struct CustomData *UNUSED(cdata),
|
||||
struct ID *UNUSED(i_id))
|
||||
struct ID *UNUSED(r_id))
|
||||
{
|
||||
}
|
||||
|
||||
@@ -225,6 +225,13 @@ bool CustomData_has_layer(const struct CustomData *UNUSED(data), int UNUSED(type
|
||||
return false;
|
||||
}
|
||||
|
||||
void *CustomData_get_layer_named(const struct CustomData *UNUSED(data),
|
||||
int UNUSED(type),
|
||||
const char *UNUSED(name))
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
/** \} */
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
|
Reference in New Issue
Block a user