mirror of
https://github.com/korenkonder/ReDIVA.git
synced 2026-10-12 17:18:10 +03:00
Better Color Change routine. Do it with one upload
This commit is contained in:
+2
-2
@@ -14360,8 +14360,8 @@ static void sub_140526FD0(rob_chara_item_cos_data* item_cos_data,
|
||||
|
||||
bool changed = false;
|
||||
if (item->data.col[j].flag & 0x01) {
|
||||
tex = texture_create_copy_texture(texture_manager_get_copy_id(0x30), tex);
|
||||
texture_apply_color_tone(tex, tex, &item->data.col[j].col_tone);
|
||||
tex = texture_create_copy_texture_apply_color_tone(
|
||||
texture_manager_get_copy_id(0x30), tex, &item->data.col[j].col_tone);
|
||||
changed = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user