Changeset 0008c0f in mainline for uspace/app/gfxdemo/gfxdemo.c
- Timestamp:
- 2019-10-26T23:30:51Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 587b4cb
- Parents:
- 7b882c1f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/gfxdemo/gfxdemo.c
r7b882c1f r0008c0f 144 144 offs.y = 0; 145 145 146 gfx_bitmap_render(bitmap, &srect, &offs); 146 rc = gfx_bitmap_render(bitmap, &srect, &offs); 147 if (rc != EOK) 148 goto error; 147 149 fibril_usleep(500 * 1000); 148 150 } … … 152 154 153 155 return EOK; 156 error: 157 gfx_bitmap_destroy(bitmap); 158 return rc; 154 159 } 155 160
Note:
See TracChangeset
for help on using the changeset viewer.