summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorYiwei Zhang <zzyiwei@google.com>2018-02-02 12:49:28 -0800
committerYiwei Zhang <zzyiwei@google.com>2018-02-06 03:11:46 +0000
commiteb7bdbcb5d15b19a38dc726968f4e4b59b8080e1 (patch)
treeda964378872759a534a49d1247a69d2e6cd63cb8 /opengl/tests/gl_basic/gl_basic.cpp
parent64afc024d760e31f3f41e0c5cb8fc543c9392ef1 (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/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions