Quality of life changes to wgpu/wasm stuff

This commit is contained in:
daniel-andersen
2024-08-02 11:04:10 +02:00
parent 83599957b1
commit e7041f785a
2 changed files with 3 additions and 6 deletions
+2
View File
@@ -33,6 +33,7 @@ Event_Kind :: enum u32 {
Submit, Submit,
Blur, Blur,
Change, Change,
HashChange,
Select, Select,
Animation_Start, Animation_Start,
@@ -112,6 +113,7 @@ event_kind_string := [Event_Kind]string{
.Submit = "submit", .Submit = "submit",
.Blur = "blur", .Blur = "blur",
.Change = "change", .Change = "change",
.HashChange = "hashchange",
.Select = "select", .Select = "select",
.Animation_Start = "animationstart", .Animation_Start = "animationstart",
+1 -6
View File
@@ -716,12 +716,7 @@ BufferDescriptor :: struct {
mappedAtCreation: b32, mappedAtCreation: b32,
} }
Color :: struct { Color :: [4]f32
r: f64,
g: f64,
b: f64,
a: f64,
}
CommandBufferDescriptor :: struct { CommandBufferDescriptor :: struct {
nextInChain: ^ChainedStruct, nextInChain: ^ChainedStruct,