Changeset 0008c0f in mainline for uspace/app/gfxdemo/gfxdemo.c


Ignore:
Timestamp:
2019-10-26T23:30:51Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
587b4cb
Parents:
7b882c1f
Message:

Bitmaps in IPC GC and in display server

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/gfxdemo/gfxdemo.c

    r7b882c1f r0008c0f  
    144144                        offs.y = 0;
    145145
    146                         gfx_bitmap_render(bitmap, &srect, &offs);
     146                        rc = gfx_bitmap_render(bitmap, &srect, &offs);
     147                        if (rc != EOK)
     148                                goto error;
    147149                        fibril_usleep(500 * 1000);
    148150                }
     
    152154
    153155        return EOK;
     156error:
     157        gfx_bitmap_destroy(bitmap);
     158        return rc;
    154159}
    155160
Note: See TracChangeset for help on using the changeset viewer.