- Timestamp:
- 2006-06-09T08:29:25Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c891ed39
- Parents:
- e92aabf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fb/ppm.c
re92aabf rbd02038 85 85 unsigned int sy, 86 86 unsigned int maxwidth, unsigned int maxheight, 87 void (*putpixel)(int,unsigned int, unsigned int, int),int vp)87 putpixel_cb_t putpixel,void *vport) 88 88 { 89 89 unsigned int width, height; … … 122 122 color = ((data[0]*coef) << 16) + ((data[1]*coef) << 8) + data[2]*coef; 123 123 124 (*putpixel)(vp , sx+(i % width), sy+(i / width), color);124 (*putpixel)(vport, sx+(i % width), sy+(i / width), color); 125 125 data += 3; 126 126 }
Note:
See TracChangeset
for help on using the changeset viewer.