On Monday, March 7, 2016 2:59:34 PM PST Tim Rowley wrote:
> Remove use of a win32-style type leaked from the swr rasterizer.
> ---
>  src/gallium/drivers/swr/swr_fence.cpp | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/gallium/drivers/swr/swr_fence.cpp b/src/gallium/drivers/
swr/swr_fence.cpp
> index f97ea22..e80faee 100644
> --- a/src/gallium/drivers/swr/swr_fence.cpp
> +++ b/src/gallium/drivers/swr/swr_fence.cpp
> @@ -37,7 +37,7 @@
>   * to SwrSync call.
>   */
>  static void
> -swr_sync_cb(UINT64 userData, UINT64 userData2, UINT64 userData3)
> +swr_sync_cb(uint64_t userData, uint64_t userData2, uint64_t userData3)
>  {
>     struct swr_fence *fence = (struct swr_fence *)userData;
>  
> @@ -53,7 +53,7 @@ swr_fence_submit(struct swr_context *ctx, struct 
pipe_fence_handle *fh)
>     struct swr_fence *fence = swr_fence(fh);
>  
>     fence->write++;
> -   SwrSync(ctx->swrContext, swr_sync_cb, (UINT64)fence, 0, 0);
> +   SwrSync(ctx->swrContext, swr_sync_cb, (uint64_t)fence, 0, 0);
>  }
>  
>  /*
> 

Reviewed-by: Kenneth Graunke <kenn...@whitecape.org>

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to