[Mesa-dev] [PATCH 1/2] drisw: fix incomplete type compilation failure

Mathias Fröhlich Mathias.Froehlich at gmx.net
Sun Mar 10 07:15:15 UTC 2019


Hi Brian,

Both of these fixes:

Reviewed-by: Mathias Fröhlich <Mathias.Froehlich at web.de>

best

Mathias

On Friday, 8 March 2019 23:53:32 CET Brian Paul wrote:
> 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;
>                                        ^
> ---
>  src/gallium/winsys/sw/dri/dri_sw_winsys.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/gallium/winsys/sw/dri/dri_sw_winsys.c b/src/gallium/winsys/sw/dri/dri_sw_winsys.c
> index c0200f9..3273813 100644
> --- a/src/gallium/winsys/sw/dri/dri_sw_winsys.c
> +++ b/src/gallium/winsys/sw/dri/dri_sw_winsys.c
> @@ -35,6 +35,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"
> 






More information about the mesa-dev mailing list