mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 07:36:15 +00:00
Rename AddressMode::MirroredRepeat to MirrorRepeat.
This is to match the name in the WeBGPU IDL. BUG=dawn:22 Change-Id: I0a4a7b62afa30cfd699d90efb2dd0c085778883b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/8624 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Yunchao He <yunchao.he@intel.com>
This commit is contained in:
committed by
Commit Bot service account
parent
7843076b01
commit
a0491c9141
@@ -61,7 +61,7 @@ namespace dawn_native { namespace opengl {
|
||||
switch (mode) {
|
||||
case dawn::AddressMode::Repeat:
|
||||
return GL_REPEAT;
|
||||
case dawn::AddressMode::MirroredRepeat:
|
||||
case dawn::AddressMode::MirrorRepeat:
|
||||
return GL_MIRRORED_REPEAT;
|
||||
case dawn::AddressMode::ClampToEdge:
|
||||
return GL_CLAMP_TO_EDGE;
|
||||
|
||||
Reference in New Issue
Block a user