loader: Expand error message info
authorMark Young <marky@lunarg.com>
Tue, 16 May 2017 15:48:55 +0000 (09:48 -0600)
committerMark Young <marky@lunarg.com>
Tue, 16 May 2017 17:40:14 +0000 (11:40 -0600)
commit4d1154c806f46d44166278f52197e72df1ca3150
treeba09448991778760254a184a236d3e650231c14b
parent6e28b4892df485ed9a4f7c97bb043e23b5e618b4
loader: Expand error message info

Expand loader_platform_open_library_error on Windows to include
the error message from GetLastError();

Also, modify the loading of the layer library to use the
loader_platform_open_library_error message sincce we want
to get as much error information in that as possible.

And fix a typo in a comment.

Change-Id: I1ef5ede8c6716c4624b31ddb3b32b83392920a6c
loader/loader.c
loader/vk_loader_platform.h