commit | ad3ae90a00f1c75ab97cb8f4283340d54aaaceb1 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Fri Mar 09 13:40:42 2018 -0500 |
committer | Commit Bot <commit-bot@chromium.org> | Wed May 02 18:33:46 2018 +0000 |
tree | 00ed594da58f2043ab176defdd7b87d4b6eca0d1 | |
parent | 9aef36705b6653d61fee7e79dac188c279bff5ed [diff] [blame] |
Use packed enums for QueryType. BUG=angleproject:2169 Change-Id: I129a9d8e295859daa071a298dab9fe1895315cc0 Reviewed-on: https://chromium-review.googlesource.com/957318 Reviewed-by: Geoff Lang <geofflang@chromium.org> Reviewed-by: Jamie Madill <jmadill@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
diff --git a/src/libANGLE/Query.cpp b/src/libANGLE/Query.cpp index cd1fb5f..15416ec 100644 --- a/src/libANGLE/Query.cpp +++ b/src/libANGLE/Query.cpp
@@ -70,7 +70,7 @@ return mQuery->isResultAvailable(available); } -GLenum Query::getType() const +QueryType Query::getType() const { return mQuery->getType(); }