gallium/swr: remove use of UINT64 from swr_fence
authorTim Rowley <timothy.o.rowley@intel.com>
Mon, 7 Mar 2016 20:59:34 +0000 (14:59 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Mon, 7 Mar 2016 22:58:48 +0000 (16:58 -0600)
Remove use of a win32-style type leaked from the swr rasterizer.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/swr/swr_fence.cpp

index f97ea22151bdd859f2247aab75f0acd6ed924458..e80faeef06eef7b790bee6e8ec35aee24cf5453a 100644 (file)
@@ -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);
 }
 
 /*