mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-19 04:50:29 +00:00
wgpu: fix examples after changing color to an array
This commit is contained in:
2
vendor/wgpu/examples/glfw/main.odin
vendored
2
vendor/wgpu/examples/glfw/main.odin
vendored
@@ -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 },
|
||||
},
|
||||
},
|
||||
)
|
||||
|
||||
2
vendor/wgpu/examples/sdl2/main.odin
vendored
2
vendor/wgpu/examples/sdl2/main.odin
vendored
@@ -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 },
|
||||
},
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user