diff options
author | Brian Paul <[email protected]> | 2017-03-01 15:29:55 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-03-02 10:11:19 -0700 |
commit | b95ead850b8f6de7303eae21afa80c4adddd858f (patch) | |
tree | fdd41b0a8301bfa709bb849c1905af418d7f872d /docs | |
parent | 69fb8f3caee3e4e732dcf4b18a4fc2668e96c632 (diff) |
svga: fix crash regression since e027935a795
During the first update of the hw_clear_state atoms, we may not yet
have a current rasterizer state object. So, svga->curr.rast may be
NULL and we crash.
Add a few null pointer checks to work around this. Note that these
are only needed in the state update functions which are called for
'clear' validation.
Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions