include: Add align() helper function.

This commit is contained in:
Józef Kucia
2017-06-16 22:38:21 +02:00
parent ba713c9b37
commit 995720f5f5
2 changed files with 5 additions and 5 deletions

View File

@@ -50,11 +50,6 @@ typedef int HRESULT;
# include "vkd3d_utils.h"
#endif
static size_t align(size_t addr, unsigned int alignment)
{
return (addr + (alignment - 1)) & ~(alignment - 1);
}
static ULONG get_refcount(void *iface)
{
IUnknown *unk = iface;