wgpu: fix examples after changing color to an array

This commit is contained in:
Laytan Laats
2024-08-06 21:41:31 +02:00
parent 39d557bcb4
commit e5a478d393
2 changed files with 2 additions and 2 deletions

View File

@@ -158,7 +158,7 @@ frame :: proc "c" (dt: f32) {
view = frame,
loadOp = .Clear,
storeOp = .Store,
clearValue = { r = 0, g = 1, b = 0, a = 1 },
clearValue = { 0, 1, 0, 1 },
},
},
)

View File

@@ -158,7 +158,7 @@ frame :: proc "c" (dt: f32) {
view = frame,
loadOp = .Clear,
storeOp = .Store,
clearValue = { r = 0, g = 1, b = 0, a = 1 },
clearValue = { 0, 1, 0, 1 },
},
},
)