Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/display/display.c

    r1215db9 r2ab8ab3  
    11/*
    2  * Copyright (c) 2021 Jiri Svoboda
     2 * Copyright (c) 2019 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    5353static void ds_display_update_cb(void *);
    5454
    55 static mem_gc_cb_t ds_display_mem_gc_cb = {
    56         .invalidate = ds_display_invalidate_cb,
    57         .update = ds_display_update_cb
    58 };
    59 
    6055/** Create display.
    6156 *
     
    464459                goto error;
    465460
    466         rc = mem_gc_create(&disp->rect, &alloc, &ds_display_mem_gc_cb,
    467             (void *) disp, &disp->bbgc);
     461        rc = mem_gc_create(&disp->rect, &alloc,
     462            ds_display_invalidate_cb, ds_display_update_cb, (void *) disp,
     463            &disp->bbgc);
    468464        if (rc != EOK)
    469465                goto error;
Note: See TracChangeset for help on using the changeset viewer.