Skip to content
Snippets Groups Projects
Commit fcc9f9e0 authored by Neil Roberts's avatar Neil Roberts Committed by Emil Velikov
Browse files

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 <mattst88@gmail.com>
Cc: "10.6" <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarMatt Turner <mattst88@gmail.com>
(cherry picked from commit 86a3557d)
parent 5de0e9f9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment