summaryrefslogtreecommitdiff
path: root/src/gl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gl')
-rw-r--r--src/gl/window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gl/window.c b/src/gl/window.c
index 5ed9427..075bd6c 100644
--- a/src/gl/window.c
+++ b/src/gl/window.c
@@ -16,6 +16,7 @@ struct window_data * create_window_data(lua_State *L)
return NULL;
wdata->L = L;
wdata->framebuffer_size_callback = LUA_NOREF;
+ return wdata;
}
int window_create(lua_State *L);