Skip to content
  • Brian Paul's avatar
    svga: fix crash regression since e027935a · b95ead85
    Brian Paul authored
    
    
    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: default avatarCharmaine Lee <charmainel@vmware.com>
    b95ead85