diff options
author | Brian Paul <brianp@vmware.com> | 2019-03-08 15:50:58 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2019-03-11 20:08:16 -0600 |
commit | ecb708fadaf60147cff597d36e0e4753c7ebdf40 (patch) | |
tree | a57b1e95fe54b9eb8f72b7af62b62138c3992d86 /src | |
parent | 04544d852c457ac333e2d43adb7d42d8c9b80d4f (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c b/src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c index 9564d9424b1..6401f55bbd3 100644 --- a/src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c +++ b/src/gallium/winsys/sw/kms-dri/kms_dri_sw_winsys.c @@ -43,6 +43,7 @@ #include "pipe/p_compiler.h" #include "pipe/p_format.h" +#include "pipe/p_state.h" #include "util/u_inlines.h" #include "util/u_format.h" #include "util/u_math.h" |