loader: Use loc instead of location for getting the directory
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 10 Oct 2015 15:33:37 +0000 (08:33 -0700)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Wed, 14 Oct 2015 20:55:29 +0000 (14:55 -0600)
commit5996f5956f74bb747356236bcbec4d4fb9ddf2b9
tree3a5229908c645b920cf239065cfdfbd8e1fdedb7
parent10cb4d689bce5675c5ac88589374769445f33c03
loader: Use loc instead of location for getting the directory

Without this, the VK_ICD_FILENAMES parameter ends up getting ignored
loader/loader.c