Skip to content

Commit

Permalink
Rename Transparent3d dynamic_offset to extra_index
Browse files Browse the repository at this point in the history
Addresses Bevy [12889](bevyengine/bevy#12889)
  • Loading branch information
zhaop committed Jun 24, 2024
1 parent 4c7fbeb commit 9c053ad
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/transform-gizmo-bevy/src/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ use bevy_render::render_asset::{
RenderAssets,
};
use bevy_render::render_phase::{
AddRenderCommand, DrawFunctions, PhaseItem, RenderCommand, RenderCommandResult, RenderPhase,
SetItemPipeline, TrackedRenderPass,
AddRenderCommand, DrawFunctions, PhaseItem, PhaseItemExtraIndex, RenderCommand, RenderCommandResult, RenderPhase, SetItemPipeline, TrackedRenderPass
};
use bevy_render::render_resource::{
BlendState, Buffer, BufferInitDescriptor, BufferUsages, ColorTargetState, ColorWrites,
Expand Down Expand Up @@ -349,7 +348,7 @@ fn queue_transform_gizmos(
pipeline,
distance: 0.,
batch_range: 0..1,
dynamic_offset: None,
extra_index: PhaseItemExtraIndex::NONE,
});
}
}
Expand Down

0 comments on commit 9c053ad

Please sign in to comment.