loader: Fix EnumPhysDev bug
authorMark Young <marky@lunarg.com>
Tue, 24 Jan 2017 22:54:29 +0000 (15:54 -0700)
committerMark Young <marky@lunarg.com>
Wed, 25 Jan 2017 07:16:36 +0000 (00:16 -0700)
commit755999c01090f47037443fbf8326356cb8ebc06c
treee00fa64c45967a9bc74a72da5aa9eefff0e88d18
parent816f2e5e0d52b201f396a01992ff6197cf48dc72
loader: Fix EnumPhysDev bug

Fix a bug found by Piers with regards to vkEnumeratePhysicalDevices.
Basically, if the application called the function without first
calling it with NULL pPhysicalDevices, the count would be wrong.

Change-Id: If3a4ba60b17c64df2133d31d3692ee6da21c6a01
loader/trampoline.c