Changeset f698054 in mainline
- Timestamp:
- 2012-11-25T07:04:59Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c4ebe02
- Parents:
- c8e2ac5
- Location:
- uspace/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/draw/source.c
rc8e2ac5 rf698054 106 106 long _y = (long) (y + source->transform.m[1][2]); 107 107 108 pixelmap_t *pixmap = surface_pixmap_access(source->texture); 109 if (_x < 0 || _x >= (long) pixmap->width || _y < 0 || _y >= (long) pixmap->height) { 110 return NULL; 111 } 112 113 return pixelmap_pixel_at(pixmap, (sysarg_t) _x, (sysarg_t) _y); 108 return pixelmap_pixel_at( 109 surface_pixmap_access(source->texture), (sysarg_t) _x, (sysarg_t) _y); 114 110 } 115 111 -
uspace/lib/softrend/filter.c
rc8e2ac5 rf698054 44 44 _x %= pixmap->width; 45 45 _y %= pixmap->height; 46 } else if (_x < 0 || _x >= (long) pixmap->width || _y < 0 || _y >= (long) pixmap->height) {47 return 0;48 46 } 49 47
Note:
See TracChangeset
for help on using the changeset viewer.