Remove unused _cogl_poll_renderer_modify_fd
Unused since 865da1457a
("renderer: drop wayland client support").
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3178>
This commit is contained in:
parent
8511041c9e
commit
e803e7718d
@ -48,11 +48,6 @@ _cogl_poll_renderer_add_fd (CoglRenderer *renderer,
|
||||
CoglPollDispatchCallback dispatch,
|
||||
void *user_data);
|
||||
|
||||
void
|
||||
_cogl_poll_renderer_modify_fd (CoglRenderer *renderer,
|
||||
int fd,
|
||||
CoglPollFDEvent events);
|
||||
|
||||
typedef struct _CoglPollSource CoglPollSource;
|
||||
|
||||
CoglPollSource *
|
||||
|
@ -168,25 +168,6 @@ _cogl_poll_renderer_remove_fd (CoglRenderer *renderer, int fd)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
_cogl_poll_renderer_modify_fd (CoglRenderer *renderer,
|
||||
int fd,
|
||||
CoglPollFDEvent events)
|
||||
{
|
||||
int fd_index = find_pollfd (renderer, fd);
|
||||
|
||||
if (fd_index == -1)
|
||||
g_warn_if_reached ();
|
||||
else
|
||||
{
|
||||
CoglPollFD *pollfd =
|
||||
&g_array_index (renderer->poll_sources, CoglPollFD, fd_index);
|
||||
|
||||
pollfd->events = events;
|
||||
renderer->poll_fds_age++;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
_cogl_poll_renderer_add_fd (CoglRenderer *renderer,
|
||||
int fd,
|
||||
|
Loading…
Reference in New Issue
Block a user