VirtualBox

Changeset 82181 in vbox for trunk/src


Ignore:
Timestamp:
Nov 25, 2019 3:08:41 PM (5 years ago)
Author:
vboxsync
Message:

Additions/3D/mesa: another modification for VBox: check the pointer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/3D/mesa/mesa-17.3.9/src/gallium/drivers/svga/svga_state_tss.c

    r75443 r82181  
    167167
    168168   /* Polygon stipple */
     169#ifndef VBOX_WITH_MESA3D_NINE_SVGA
    169170   if (svga->curr.rast->templ.poly_stipple_enable) {
     171#else
     172   if (svga->curr.rast && svga->curr.rast->templ.poly_stipple_enable) {
     173#endif
    170174      const unsigned unit = svga->state.hw_draw.fs->pstipple_sampler_unit;
    171175      emit_tex_binding_unit(svga, unit,
     
    258262
    259263   /* Polygon stipple */
     264#ifndef VBOX_WITH_MESA3D_NINE_SVGA
    260265   if (svga->curr.rast->templ.poly_stipple_enable) {
     266#else
     267   if (svga->curr.rast && svga->curr.rast->templ.poly_stipple_enable) {
     268#endif
    261269      const unsigned unit = svga->state.hw_draw.fs->pstipple_sampler_unit;
    262270      struct svga_hw_view_state *view = &svga->state.hw_draw.views[unit];
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette