blob: 1c8601b1bec342e2b6d6f0b15bb1b3d59fd3406a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
int glLineWidth_bind(lua_State *L)
{
GLfloat width = luaL_checknumber(L, 1);
glLineWidth(width);
return 0;
}
int glLinkProgram_bind(lua_State *L)
{
GLuint program = luaL_checkinteger(L, 1);
glLinkProgram(program);
return 0;
}
int glLogicOp_bind(lua_State *L)
{
GLenum opcode = luaL_checkinteger(L, 1);
glLogicOp(opcode);
return 0;
}
|