summaryrefslogtreecommitdiff
path: root/src/gl/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gl/window.c')
-rw-r--r--src/gl/window.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gl/window.c b/src/gl/window.c
index 834d6ce..24f21be 100644
--- a/src/gl/window.c
+++ b/src/gl/window.c
@@ -1,8 +1,16 @@
#include "gl/glad/glad.h"
#include <GLFW/glfw3.h>
#include <lua.h>
+#include <honeysuckle.h>
+void create_glfw_window_hints_table(lua_State *L)
+{
+ hs_create_table(L,
+ hs_str_int("resizable", GLFW_RESIZABLE)
+ );
+}
+
int gl_init(lua_State *L)
{
if (glfwInit() != GLFW_TRUE) {