commit | beebf7d6163262eceb61ac1ca145a179383717db | [log] [tgz] |
---|---|---|
author | Dustin Graves <dustin@lunarg.com> | Wed Jan 27 13:48:06 2016 -0700 |
committer | Dustin Graves <dustin@lunarg.com> | Wed Feb 03 15:45:31 2016 -0700 |
tree | c8fa6ccfa20e947d7c5bdda293659384ff0a58f8 | |
parent | 73cfdff3de6705736363e193361405f4129423bf [diff] |
demos: Minor cube/tri updates Minor updates/fixes for cube and tri: - Break from demo_check_layers search loop when finding a match. - Skip memory allocation and layer/extension processing when 0 layers/extensions are enumerated. - Fix potential NULL pointer dereference and exit with message when no accessible devices are available. - Fix device_extensions memory leak. - Remove trailing whitespace.