diff --git a/graphics/Makefile b/graphics/Makefile index 4287df7..de26706 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -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 \ No newline at end of file + wasm-pack build --target web --out-dir ../view/pkg --debug \ No newline at end of file diff --git a/graphics/src/state.rs b/graphics/src/state.rs index 6549aad..6f01fb7 100644 --- a/graphics/src/state.rs +++ b/graphics/src/state.rs @@ -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 {