summaryrefslogtreecommitdiffstats
path: root/src/SConscript
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2013-05-28 13:56:18 +0100
committerJosé Fonseca <[email protected]>2013-05-28 13:56:18 +0100
commit4eaa0999b52d2c7a8fb561305eef889dc7de2d2f (patch)
treef8bbe48f147dcf3d7a3d0a9d1d67374866e932fa /src/SConscript
parentd4a06d77f5898726e2453ef32795a2183c033c05 (diff)
glsl: Fix MSVC build.
It appears that `sizeof(Class::member)` is either non-standard or merely unsupported in MSVC. So use `sizeof(instance->member)` instead, which is guaranteed to work everywhere. Also promote the assert to a static assert. Trivial.
Diffstat (limited to 'src/SConscript')
0 files changed, 0 insertions, 0 deletions