summaryrefslogtreecommitdiff
path: root/src/renderer/render.c
diff options
context:
space:
mode:
authorOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-30 23:15:36 +1100
committerOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-30 23:15:36 +1100
commitf26f084958550cd01b9e4e4b098551520a4c6852 (patch)
tree1b835288f94461ba86aca8cff723d3364556db52 /src/renderer/render.c
parentb4cb698d177ada97c976eab059eabedd433abfd0 (diff)
parentc20740ecbb008afbe93c7fa1eb35851cedc6eb42 (diff)
Merge branch 'cel-60-scaffold-vulkan' into cleanroom-vulkan
Diffstat (limited to 'src/renderer/render.c')
-rw-r--r--src/renderer/render.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/renderer/render.c b/src/renderer/render.c
index 45762d4..54b63b6 100644
--- a/src/renderer/render.c
+++ b/src/renderer/render.c
@@ -17,8 +17,8 @@
// FIXME: get rid of these and store dynamic screen realestate
// in renderer
-#define SCR_WIDTH 1080
-#define SCR_HEIGHT 800
+#define SCR_WIDTH 1000
+#define SCR_HEIGHT 1000
material DEFAULT_MATERIAL = { 0 };
@@ -61,6 +61,8 @@ bool renderer_init(renderer* ren) {
return true;
}
+void renderer_shutdown(renderer* ren) {}
+
void render_frame_begin(renderer* ren) {
vec3 color = ren->config.clear_colour;
clear_screen(color);