layers: LX673, CreateWin32Surface Null HWND check
authorMark Lobodzinski <mark@lunarg.com>
Tue, 9 May 2017 14:21:15 +0000 (08:21 -0600)
committerMark Lobodzinski <mark@lunarg.com>
Tue, 9 May 2017 21:29:31 +0000 (15:29 -0600)
commit3a9a2cfa67d95b5b4c93a14ef39c08d0d9c17599
treeea5fe0535a787652c0466d5dbd87ac0d6499eba3
parent2fa32fa284c7313c40fee00ac13674bd24460433
layers: LX673, CreateWin32Surface Null HWND check

Added NULL check to parameter validation, and assigned VU2505.
All we can do is check for Null. Apparently, hInstance CAN be NULL.

Change-Id: Ica5ead0514b7435ea9428dbd0018f53ff25462fd
layers/parameter_validation.cpp
layers/vk_validation_error_database.txt