summaryrefslogtreecommitdiff
path: root/src/renderer/backends/backend_opengl.c
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 /src/renderer/backends/backend_opengl.c
parent7be34d14afa3a091228bab033f7d604111dcb402 (diff)
fix
Diffstat (limited to 'src/renderer/backends/backend_opengl.c')
-rw-r--r--src/renderer/backends/backend_opengl.c2
1 files changed, 1 insertions, 1 deletions
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;
}