Make Toggles overriden automatically and device creation

Bug: dawn:373
Change-Id: I9aac64d1b800caad123161f4b48e70d39c1e0085
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/18761
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Corentin Wallez
2020-04-06 16:55:22 +00:00
committed by Commit Bot service account
parent be73a51136
commit 022d074c06
7 changed files with 53 additions and 52 deletions

View File

@@ -38,9 +38,6 @@ namespace dawn_native { namespace opengl {
const OpenGLFunctions& functions)
: DeviceBase(adapter, descriptor), gl(functions) {
InitTogglesFromDriver();
if (descriptor != nullptr) {
ApplyToggleOverrides(descriptor);
}
mFormatTable = BuildGLFormatTable();
}