mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
include: Add align() helper function.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user