summaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2023-10-18 21:00:52 +0300
committerkartofen <mladenovnasko0@gmail.com>2023-10-18 21:00:52 +0300
commit22128c747e0817f09c11b004016e6d7c518c1523 (patch)
tree315ad3ee75967504d318909e17c6f10091721d74 /src/common.h
parent9990c8d617d84e0d86ad680c39f648b0fab0906c (diff)
swap chain support and minor reorganization
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/common.h b/src/common.h
index e10649a..1c80ab8 100644
--- a/src/common.h
+++ b/src/common.h
@@ -3,7 +3,6 @@
#include <stdio.h>
#include <stdlib.h>
-#include <stdint.h>
#define ARR_SIZE(a) (sizeof(a)/sizeof(*(a)))
@@ -24,9 +23,6 @@
abort(); \
} while(0)
-#define MAKE_VERSION(major, minor, patch) \
- ((((uint32_t)(major)) << 22U) | (((uint32_t)(minor)) << 12U) | ((uint32_t)(patch)))
-
void *xmalloc(size_t size);
void *xcalloc(size_t nmemb, size_t size);
void *xrealloc(void *ptr, size_t size);