Actually pass the instance descriptor in APICreateInstance
This argument was getting dropped, so the default descriptor was always used. Bug: chromium:1343047 Change-Id: I521e00a3c390ff193fcc18072a037c069e98c680 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/95982 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Shrek Shao <shrekshao@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
parent
9a480af593
commit
f9518dfca2
|
@ -103,7 +103,7 @@ dawn::platform::CachingInterface* GetCachingInterface(dawn::platform::Platform*
|
||||||
} // anonymous namespace
|
} // anonymous namespace
|
||||||
|
|
||||||
InstanceBase* APICreateInstance(const InstanceDescriptor* descriptor) {
|
InstanceBase* APICreateInstance(const InstanceDescriptor* descriptor) {
|
||||||
return InstanceBase::Create().Detach();
|
return InstanceBase::Create(descriptor).Detach();
|
||||||
}
|
}
|
||||||
|
|
||||||
// InstanceBase
|
// InstanceBase
|
||||||
|
|
Loading…
Reference in New Issue