diff options
author | sanine <sanine.not@pm.me> | 2022-08-21 21:58:39 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2022-08-21 21:58:39 -0500 |
commit | 68d4b40cd00dd0ec2f0ed09033f8e05a98e5ca2d (patch) | |
tree | 74a48387ca00c4a9aec73412f980100801af7962 /src | |
parent | 4ffe0ff4ac30361ea2a35dcfa07ca560ed865631 (diff) |
fix segfault with wdata
Diffstat (limited to 'src')
-rw-r--r-- | src/gl/window.c | 1 |
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); |