summaryrefslogtreecommitdiff
path: root/src/gl/gl.c
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-08-22 11:38:26 -0500
committersanine <sanine.not@pm.me>2022-08-22 11:38:26 -0500
commit249833947ff691dd79453c4d817387a6922236d6 (patch)
tree9fb1666f6ad443e13c5c6376ea949fbce6e58cfd /src/gl/gl.c
parenta2c162f12337142c054c2e1f01ad508ee56963d2 (diff)
add element buffers
Diffstat (limited to 'src/gl/gl.c')
-rw-r--r--src/gl/gl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gl/gl.c b/src/gl/gl.c
index 8a1cb17..8f56d33 100644
--- a/src/gl/gl.c
+++ b/src/gl/gl.c
@@ -21,7 +21,8 @@ int gl_get_error(lua_State *L);
void setup_gl(lua_State *L, int honey_index)
{
int data_types = hs_create_table(L,
- hs_str_int("integer", GL_INT),
+ hs_str_int("uint", GL_UNSIGNED_INT),
+ hs_str_int("int", GL_INT),
hs_str_int("float", GL_FLOAT),
);