xgl: xglWaitForFences timeout units
authorCourtney Goeltzenleuchter <courtney@LunarG.com>
Wed, 25 Mar 2015 22:37:00 +0000 (16:37 -0600)
committerChia-I Wu <olv@lunarg.com>
Thu, 16 Apr 2015 09:33:26 +0000 (17:33 +0800)
bug #13425
header: r29769 (0.62.0)

v2: cast uint64_t to int64_t with range check (olv)

include/xgl.h

index 8308c6f..7954643 100644 (file)
@@ -2538,7 +2538,7 @@ XGL_RESULT XGLAPI xglWaitForFences(
     uint32_t                                    fenceCount,
     const XGL_FENCE*                            pFences,
     bool32_t                                    waitAll,
-    uint64_t                                    timeout);
+    uint64_t                                    timeout); // timeout in nanoseconds
 
 // Queue semaphore functions