summaryrefslogtreecommitdiff
path: root/src/opengl/bind/h.bind
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl/bind/h.bind')
-rw-r--r--src/opengl/bind/h.bind9
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;
+}
+
+