summaryrefslogtreecommitdiffstats
path: root/Primitives/interface
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-01-26 03:32:47 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-01-26 03:32:47 +0000
commit2ab3a8fc9bd173a2e51a91cfbff9ba466c2510c7 (patch)
treee68ebb5bd99466cbe66fed453f50a5eb466c073e /Primitives/interface
parentFixed Buffer, BufferView, Texture, TextureView interfaces; added C interface ... (diff)
downloadDiligentCore-2ab3a8fc9bd173a2e51a91cfbff9ba466c2510c7.tar.gz
DiligentCore-2ab3a8fc9bd173a2e51a91cfbff9ba466c2510c7.zip
Fixed IObject::AddRef c interface
Diffstat (limited to 'Primitives/interface')
-rw-r--r--Primitives/interface/Object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Primitives/interface/Object.h b/Primitives/interface/Object.h
index a3ede3ff..931020ab 100644
--- a/Primitives/interface/Object.h
+++ b/Primitives/interface/Object.h
@@ -109,7 +109,7 @@ struct IObject
// clang-format off
# define IObject_QueryInterface(This, ...) (This)->pVtbl->Object.QueryInterface((struct IObject*)(This), __VA_ARGS__)
-# define IObject_AddRef(This, ...) (This)->pVtbl->Object.AddRef ((struct IObject*)(This), __VA_ARGS__)
+# define IObject_AddRef(This) (This)->pVtbl->Object.AddRef ((struct IObject*)(This))
# define IObject_Release(This) (This)->pVtbl->Object.Release ((struct IObject*)(This))
// clang-format on