mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-13 23:26:24 +00:00
Fix deprecated API usages in samples
Bug: None Change-Id: I13a05e6edf5dbd9419d6f2fa813ca0651c5ff6a1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/84764 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Dawn LUCI CQ
parent
f57867264a
commit
9c0faa8500
@@ -161,7 +161,7 @@ void frame() {
|
||||
pass.SetVertexBuffer(0, vertexBuffer);
|
||||
pass.SetIndexBuffer(indexBuffer, wgpu::IndexFormat::Uint32);
|
||||
pass.DrawIndexed(3);
|
||||
pass.EndPass();
|
||||
pass.End();
|
||||
}
|
||||
|
||||
wgpu::CommandBuffer commands = encoder.Finish();
|
||||
|
||||
Reference in New Issue
Block a user