Skip to content

Commit

Permalink
sun vertex
Browse files Browse the repository at this point in the history
  • Loading branch information
TadaTeruki committed Aug 25, 2024
1 parent 7292c3d commit 7c6d0c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion graphics/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ build:
mkdir -p ../view/public/resources
cp -r resources ../view/public
echo "*" > ../view/public/resources/.gitignore
wasm-pack build --target web --out-dir ../view/pkg
wasm-pack build --target web --out-dir ../view/pkg --debug
2 changes: 1 addition & 1 deletion graphics/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ impl State {
vertex: wgpu::VertexState {
module: &shader,
entry_point: "vs_main",
buffers: &[StarInstanceRaw::desc()],
buffers: &[SunVertex::desc()],
compilation_options: wgpu::PipelineCompilationOptions::default(),
},
fragment: Some(wgpu::FragmentState {
Expand Down

0 comments on commit 7c6d0c5

Please sign in to comment.