summaryrefslogtreecommitdiff
path: root/src/renderer/backends
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer/backends')
-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;
}