Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNachoBIT committed Feb 10, 2025
1 parent 7629e3b commit 35b1b57
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions catalina/src/wgpu_engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,7 @@ impl WgpuEngine {
vertex: wgpu::VertexState {
module,
entry_point: Some(vertex_main),
buffers: vertex_buffer
.as_ref()
.map(core::slice::from_ref)
.unwrap_or_default(),
buffers: vertex_buffer.as_slice(),
compilation_options: PipelineCompilationOptions::default(),
},
fragment: Some(wgpu::FragmentState {
Expand Down

0 comments on commit 35b1b57

Please sign in to comment.