gallium/winsys/kms: fix incomplete type compilation failure
authorBrian Paul <brianp@vmware.com>
Fri, 8 Mar 2019 22:50:58 +0000 (15:50 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 12 Mar 2019 02:08:16 +0000 (20:08 -0600)
commitecb708fadaf60147cff597d36e0e4753c7ebdf40
treea57b1e95fe54b9eb8f72b7af62b62138c3992d86
parent04544d852c457ac333e2d43adb7d42d8c9b80d4f
gallium/winsys/kms: fix incomplete type compilation failure

Fixes:
../src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c: In function ‘kms_sw_displaytarget_from_handle’:
../src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c:402:60: error: dereferencing pointer to incomplete type ‘const struct pipe_resource’
                                                       templ->format,
                                                            ^

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