summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-27 18:36:05 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-27 18:36:05 +1000
commitefea29ed9059303a5bb609ba0ce79c20ba894a23 (patch)
tree85bf6c0ad3b14df318cc38446f1bd7cd966942d7
parent7be34d14afa3a091228bab033f7d604111dcb402 (diff)
fix
-rw-r--r--src/platform/path.c4
-rw-r--r--src/renderer/backends/backend_opengl.c2
2 files changed, 2 insertions, 4 deletions
diff --git a/src/platform/path.c b/src/platform/path.c
index bee4e9c..e49aa3a 100644
--- a/src/platform/path.c
+++ b/src/platform/path.c
@@ -16,7 +16,5 @@ path_opt path_parent(arena* a, const char* path) {
}
#endif
#ifdef CEL_PLATFORM_WINDOWS
-// TODO: path_opt path_parent(const char* path)
+path_opt path_parent(arena* a, const char* path) {}
#endif
-
-path_opt path_parent(arena* a, const char* path) {} \ No newline at end of file
diff --git a/src/renderer/backends/backend_opengl.c b/src/renderer/backends/backend_opengl.c
index 7467416..7fc277f 100644
--- a/src/renderer/backends/backend_opengl.c
+++ b/src/renderer/backends/backend_opengl.c
@@ -39,7 +39,7 @@ bool gfx_backend_init(renderer *ren) {
glEnable(GL_DEPTH_TEST);
opengl_state *internal = malloc(sizeof(opengl_state));
- ren->backend_state = (void *)internal;
+ ren->backend_context = (void *)internal;
return true;
}