drisw: fix incomplete type compilation failure
authorBrian Paul <brianp@vmware.com>
Fri, 8 Mar 2019 22:49:49 +0000 (15:49 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 12 Mar 2019 02:08:16 +0000 (20:08 -0600)
commit04544d852c457ac333e2d43adb7d42d8c9b80d4f
treeadabcf31f9e531d6612ba4921840d25e06b4d156
parent45c6da5a48b52594ea7f116a56ce92481fbb964a
drisw: fix incomplete type compilation failure

Fixes:
../src/gallium/winsys/sw/dri/dri_sw_winsys.c: In function ‘dri_sw_displaytarget_display’:
../src/gallium/winsys/sw/dri/dri_sw_winsys.c:255:39: error: dereferencing pointer to incomplete type ‘struct pipe_box’
       offset = dri_sw_dt->stride * box->y;
                                       ^

Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/gallium/winsys/sw/dri/dri_sw_winsys.c