diff options
| author | 2017-05-08 15:59:09 -0600 | |
|---|---|---|
| committer | 2017-05-08 15:59:09 -0600 | |
| commit | b36f4ee53d0ca467d88692ebbe681b7d45c062d2 (patch) | |
| tree | e376cc1ef2f3041223c0b88687ffd532a84e6cca /libs/gui/BufferQueueConsumer.cpp | |
| parent | 584bc3cebf3f23d378fc7ed06e71c5d1722373dd (diff) | |
Return an error if apiVersion is 1.1+.
The Vulkan loader is supposed to check the requested apiVersion and return
VK_ERROR_INCOMPATIBLE_DRIVER if the requested version is not supported. The
loader wasn't performing the check, nor returning the error. A log message is
also issued, explaining why the application failed to create an instance.
Bug: 38040828
Test: Modify cube to use 1.0 or 1.1 and ensure proper return value.
Change-Id: I8cc792305a346c6e1db40f61d5235c301d8ae848
Diffstat (limited to 'libs/gui/BufferQueueConsumer.cpp')
0 files changed, 0 insertions, 0 deletions