Skip to content

Commit

Permalink
Fix bgra swap for photo to pbr node
Browse files Browse the repository at this point in the history
  • Loading branch information
luboslenco committed Feb 6, 2025
1 parent fd5b477 commit 6a260ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion armorlab/sources/nodes/photo_to_pbr_node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function photo_to_pbr_node_get_as_image(self: photo_to_pbr_node_t, from: i32): i

///if (arm_metal || arm_vulkan)
if (from == channel_type_t.BASE_COLOR) {
photo_to_pbr_node_bgra_swap(u8a.buffer);
photo_to_pbr_node_bgra_swap(u8a);
}
///end

Expand Down

0 comments on commit 6a260ed

Please sign in to comment.