Win: Fix compilation error on Windows (xgl_helper.py).
authorIan Elliott <ian@LunarG.com>
Thu, 26 Feb 2015 00:40:38 +0000 (17:40 -0700)
committerIan Elliott <ian@LunarG.com>
Thu, 26 Feb 2015 00:40:38 +0000 (17:40 -0700)
commita5a0a174ea1cbe98aa35401db98bf54fddc313ae
treea2340e19f6921fdb4c0a3db15743e2787469be21
parentc1a0242ebff344c3aaaaa02f2416e81ac6fcb6d7
Win: Fix compilation error on Windows (xgl_helper.py).

Visual Studio doesn't like the following code construct:

    if (<some test>)
        return <something>;
    <type> variable [= <intial-value>];

We have to use curly-braces, as in:

    if (<some test>) {
        return <something>;
    }
    <type> variable [= <intial-value>];
xgl_helper.py