[Mesa-dev] [PATCH] gallium/swr: remove use of UINT64 from swr_fence

Tim Rowley timothy.o.rowley at intel.com
Mon Mar 7 20:59:34 UTC 2016


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);
 }
 
 /*
-- 
2.5.0



More information about the mesa-dev mailing list