diff options
-rw-r--r-- | src/backend_freeimage.c | 2 | ||||
-rw-r--r-- | src/source.h | 7 |
2 files changed, 0 insertions, 9 deletions
diff --git a/src/backend_freeimage.c b/src/backend_freeimage.c index 596d450..73f8f9a 100644 --- a/src/backend_freeimage.c +++ b/src/backend_freeimage.c @@ -244,8 +244,6 @@ static enum backend_result open_path(const char *path, struct imv_source **src) source->width = 0; source->height = 0; source->num_frames = 0; - source->image_event_id = 0; - source->error_event_id = 0; source->load_first_frame = &first_frame; source->load_next_frame = &next_frame; source->free = &source_free; diff --git a/src/source.h b/src/source.h index 2f6b44d..74501ed 100644 --- a/src/source.h +++ b/src/source.h @@ -36,13 +36,6 @@ struct imv_source { /* Next frame to be loaded, 0-indexed */ int next_frame; - /* Frames are returned using SDL events. These two fields must be - * populated by callers before calling any frame loading functionality - * on the source. - */ - unsigned int image_event_id; - unsigned int error_event_id; - /* Trigger loading of the first frame. */ void (*load_first_frame)(struct imv_source *src); |