Skip to content

Commit

Permalink
Merge pull request #4008 from Daxode/wasm-quality-of-life
Browse files Browse the repository at this point in the history
Quality of Life changes to wgpu/js
  • Loading branch information
laytan authored Aug 2, 2024
2 parents 8e8660f + 723e6d1 commit 500c117
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 2 additions & 0 deletions vendor/wasm/js/events.odin
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Event_Kind :: enum u32 {
Submit,
Blur,
Change,
HashChange,
Select,

Animation_Start,
Expand Down Expand Up @@ -112,6 +113,7 @@ event_kind_string := [Event_Kind]string{
.Submit = "submit",
.Blur = "blur",
.Change = "change",
.HashChange = "hashchange",
.Select = "select",

.Animation_Start = "animationstart",
Expand Down
7 changes: 1 addition & 6 deletions vendor/wgpu/wgpu.odin
Original file line number Diff line number Diff line change
Expand Up @@ -716,12 +716,7 @@ BufferDescriptor :: struct {
mappedAtCreation: b32,
}

Color :: struct {
r: f64,
g: f64,
b: f64,
a: f64,
}
Color :: [4]f64

CommandBufferDescriptor :: struct {
nextInChain: ^ChainedStruct,
Expand Down

0 comments on commit 500c117

Please sign in to comment.