Changeset a8eed5f in mainline for uspace/lib/gfx/test/bitmap.c


Ignore:
Timestamp:
2020-02-28T16:03:20Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7bb45e3
Parents:
0e6e77f
git-author:
Jiri Svoboda <jiri@…> (2020-02-27 18:02:55)
git-committer:
Jiri Svoboda <jiri@…> (2020-02-28 16:03:20)
Message:

Future-proof gfx_bitmap_params_t with initialization function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gfx/test/bitmap.c

    r0e6e77f ra8eed5f  
    8484        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    8585
     86        gfx_bitmap_params_init(&params);
    8687        params.rect.p0.x = 1;
    8788        params.rect.p0.y = 2;
     
    120121        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    121122
     123        gfx_bitmap_params_init(&params);
     124
    122125        rc = gfx_bitmap_create(gc, &params, NULL, &bitmap);
    123126        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
     
    159162        rc = gfx_context_new(&ops, &tgc, &gc);
    160163        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
     164
     165        gfx_bitmap_params_init(&params);
    161166
    162167        rc = gfx_bitmap_create(gc, &params, NULL, &bitmap);
Note: See TracChangeset for help on using the changeset viewer.