OSDN Git Service

vknulldrv: Use a default allocator when none provided
authorJesse Hall <jessehall@google.com>
Wed, 20 Apr 2016 23:58:11 +0000 (16:58 -0700)
committerJesse Hall <jessehall@google.com>
Wed, 20 Apr 2016 23:58:11 +0000 (16:58 -0700)
commitd3b1450e6606cacff0d2c6e0ff6e45f1420ad5ee
treeca1968b541fe5a5c6a35bef943d9b6bd14ac433f
parent151cc4a91a92447a78a964bf1164b50ac8921f65
vknulldrv: Use a default allocator when none provided

The loader used to always provide an allocator, even if the app
didn't. It no longer does that, so the null driver must be prepared to
provide its own default allocator.

Fixes bug 28303142

Change-Id: I6ab946913dc4edaf2a0b07ab9ae8c43be69b3ed6
vulkan/nulldrv/null_driver.cpp