int glQueryCounter_bind(lua_State *L) { GLuint id = luaL_checkinteger(L, 1); GLenum target = luaL_checkinteger(L, 2); glQueryCounter(id, target); return 0; }