diff options
author | sanine <sanine.not@pm.me> | 2023-03-10 02:05:18 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-03-10 02:05:18 -0600 |
commit | 51c7235d4e0a2df109dd5050328a0ad4a1878ae4 (patch) | |
tree | 201b065e93bf6a35d2bab0e49bcd32f7a971da94 /src/opengl/bind/h.bind | |
parent | 5bb783912ac384156b8abbe6e83a5a61da73881d (diff) |
refactor: move glfw functions into separate table
Diffstat (limited to 'src/opengl/bind/h.bind')
-rw-r--r-- | src/opengl/bind/h.bind | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/opengl/bind/h.bind b/src/opengl/bind/h.bind new file mode 100644 index 0000000..7837656 --- /dev/null +++ b/src/opengl/bind/h.bind @@ -0,0 +1,9 @@ +int glHint_bind(lua_State *L) +{ + GLenum target = luaL_checkinteger(L, 1); + GLenum mode = luaL_checkinteger(L, 2); + glHint(target, mode); + return 0; +} + + |