diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2019-11-13 13:27:57 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2019-11-27 09:55:16 +0100 |
commit | 241730a71bcde0aca285c9e28d3811693e259dce (patch) | |
tree | 3131ecf27724a09b75eb24737c63b06f0272044a /external | |
parent | 178079863415bd3618b2008c20aa42ed50ca90ea (diff) |
make Skia VCL backend fall back to raster if vulkan doesn't work
Change-Id: Ic446f6f85e5ebc2e50cb51a3ed1e732b8976a193
Diffstat (limited to 'external')
-rw-r--r-- | external/skia/share-grcontext.patch.1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/external/skia/share-grcontext.patch.1 b/external/skia/share-grcontext.patch.1 index 0492bd948240..357c3a885880 100644 --- a/external/skia/share-grcontext.patch.1 +++ b/external/skia/share-grcontext.patch.1 @@ -426,7 +426,7 @@ index 2db9e79ae6..7950dc159b 100644 void swapBuffers() override; - bool isValid() override { return fDevice != VK_NULL_HANDLE; } -+ bool isValid() override { return fShared->fDevice != VK_NULL_HANDLE; } ++ bool isValid() override { return fShared && fShared->fDevice != VK_NULL_HANDLE; } void resize(int w, int h) override { this->createSwapchain(w, h, fDisplayParams); |