diff options
| author | 2018-02-02 12:49:28 -0800 | |
|---|---|---|
| committer | 2018-02-06 03:11:46 +0000 | |
| commit | eb7bdbcb5d15b19a38dc726968f4e4b59b8080e1 (patch) | |
| tree | da964378872759a534a49d1247a69d2e6cd63cb8 /opengl/libagl/TextureObjectManager.cpp | |
| parent | 64afc024d760e31f3f41e0c5cb8fc543c9392ef1 (diff) | |
vkGetDeviceQueue2: add a NULL check
The current driver::GetDeviceQueue2() will indeed crash if the
driver returns a NULL queue, which it is supposed to do if the
pQueueInfo->flags doesn't match the flags requested for the queue
family. Thus need to add a NULL check for pQueue here in case.
Test: deqp vulkancts test
Bug: b/72867433
Change-Id: I306c1a1db52a9986801357eaeb357536ecb0428e
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions