diff options
author | Neil Roberts <[email protected]> | 2015-07-04 22:40:59 +0100 |
---|---|---|
committer | Neil Roberts <[email protected]> | 2015-07-06 11:52:37 -0700 |
commit | 86a3557d7c95ac945eedf42ab095639b255c1bed (patch) | |
tree | 6b1922f35a8b9c243701c38689bc27f4fc82bdbb /src/util | |
parent | 18039078e0254c7cb5e15b7186be05e2e4c10f38 (diff) |
glsl: Make sure not to dereference NULL
In this bit of code point_five can be NULL if the expression is not a
constant. This fixes it to match the pattern of the rest of the chunk
of code so that it checks for NULLs.
Cc: Matt Turner <[email protected]>
Cc: "10.6" <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/util')
0 files changed, 0 insertions, 0 deletions