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:
Corentin Wallez
2019-07-08 09:36:31 +00:00
committed by Commit Bot service account
parent 7843076b01
commit a0491c9141
7 changed files with 8 additions and 8 deletions

View File

@@ -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;