Skip to content

Commit

Permalink
Register IndexFormat as a property (#664)
Browse files Browse the repository at this point in the history
  • Loading branch information
sim-the-bean authored Oct 12, 2020
1 parent 036b3bc commit 53d6d10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/bevy_render/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ use camera::{
ActiveCameras, Camera, OrthographicProjection, PerspectiveProjection, VisibleEntities,
};
use pipeline::{
DynamicBinding, PipelineCompiler, PipelineDescriptor, PipelineSpecialization,
DynamicBinding, IndexFormat, PipelineCompiler, PipelineDescriptor, PipelineSpecialization,
PrimitiveTopology, ShaderSpecialization, VertexBufferDescriptors,
};
use render_graph::{
Expand Down Expand Up @@ -111,6 +111,7 @@ impl Plugin for RenderPlugin {
.register_property::<ShaderSpecialization>()
.register_property::<DynamicBinding>()
.register_property::<PrimitiveTopology>()
.register_property::<IndexFormat>()
.register_properties::<PipelineSpecialization>()
.init_resource::<RenderGraph>()
.init_resource::<PipelineCompiler>()
Expand Down

0 comments on commit 53d6d10

Please sign in to comment.