summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-01-27 02:21:19 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-01-27 02:21:19 +0000
commit7097ba8f02acc8d69156875aac51f7f13e1c5ac3 (patch)
treee3b1b5b3a3e752c74998146cc213b6f58ae8d72b /Graphics/GraphicsEngine
parentFixed few GL build issues on Mac (diff)
downloadDiligentCore-7097ba8f02acc8d69156875aac51f7f13e1c5ac3.tar.gz
DiligentCore-7097ba8f02acc8d69156875aac51f7f13e1c5ac3.zip
Fixed fence C inteface; added test.
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/Fence.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngine/interface/Fence.h b/Graphics/GraphicsEngine/interface/Fence.h
index a9f9eab8..fd21bf03 100644
--- a/Graphics/GraphicsEngine/interface/Fence.h
+++ b/Graphics/GraphicsEngine/interface/Fence.h
@@ -100,8 +100,8 @@ struct IFence
# define IFence_GetDesc(This) (const struct FenceDesc*)IDeviceObject_GetDesc(This)
-# define IFence_GetCompletedValue(This) (This)->pVtbl->Fence.GetCompletedValue((struct IFenceVtbl*)(This))
-# define IFence_Reset(This, ...) (This)->pVtbl->Fence.Reset ((struct IFenceVtbl*)(This), __VA_ARGS__)
+# define IFence_GetCompletedValue(This) (This)->pVtbl->Fence.GetCompletedValue((struct IFence*)(This))
+# define IFence_Reset(This, ...) (This)->pVtbl->Fence.Reset ((struct IFence*)(This), __VA_ARGS__)
// clang-format on