xcb: Deal with case of getenv() returning NULL.
authorIan Elliott <ian@LunarG.com>
Fri, 20 Feb 2015 21:12:18 +0000 (14:12 -0700)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Tue, 3 Mar 2015 00:21:09 +0000 (17:21 -0700)
commitf94f9bc3358d29b8cf7c03d753808bbbb61a5a3f
tree8d3d0970b5c4e064a6e75eca309de0426c816aee
parent50e3444dd5f5582e3a9666e037c0b8c8e5145ae9
xcb: Deal with case of getenv() returning NULL.

At least on Windows, getenv() returns NULL when the environment variable is not
found.  This causes a problem inside of "xcb_nvidia.cpp" when a C++ std::string
is assigned the return value of getenv().
demos/xcb_nvidia.cpp