summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-30 10:52:15 +1100
committerOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-30 10:52:15 +1100
commitc5176c9c001c7d32cc2c658e09be8a4b5237685b (patch)
tree1a9bbb973db8bad8084b828666e0fbfedb2474cb /src
parent57185c5e59e92775dd45b3e2966debb4ce5641e9 (diff)
chore format lint
Diffstat (limited to 'src')
-rw-r--r--src/core.c4
-rw-r--r--src/platform/file.h6
-rw-r--r--src/std/containers/darray.h3
3 files changed, 7 insertions, 6 deletions
diff --git a/src/core.c b/src/core.c
index a0dc3b6..4b3bd1b 100644
--- a/src/core.c
+++ b/src/core.c
@@ -7,8 +7,8 @@
#include "render_types.h"
#include "threadpool.h"
-#define SCR_WIDTH 2160
-#define SCR_HEIGHT 1080
+#define SCR_WIDTH 1000
+#define SCR_HEIGHT 1000
core* core_bringup() {
INFO("Initiate Core bringup");
diff --git a/src/platform/file.h b/src/platform/file.h
index 83d1317..a8aa8ea 100644
--- a/src/platform/file.h
+++ b/src/platform/file.h
@@ -19,8 +19,8 @@ const char* string_from_file(const char* path);
str8_opt str8_from_file(arena* a, str8 path);
typedef struct {
- char *data;
- size_t size;
+ char* data;
+ size_t size;
} FileData;
-FileData load_spv_file(const char *path); \ No newline at end of file
+FileData load_spv_file(const char* path); \ No newline at end of file
diff --git a/src/std/containers/darray.h b/src/std/containers/darray.h
index 45d92e2..b15d269 100644
--- a/src/std/containers/darray.h
+++ b/src/std/containers/darray.h
@@ -6,7 +6,8 @@
// COPIED FROM KITC WITH SOME MINOR ADJUSTMENTS
/* TODO:
- - a 'find' function that takes a predicate (maybe wrap with a macro so we dont have to define a new function?)
+ - a 'find' function that takes a predicate (maybe wrap with a macro so we dont have to define a
+ new function?)
*/
#ifndef KITC_TYPED_ARRAY_H