Changes in uspace/drv/fb/kfb/port.c [7dba813:6d5e378] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/fb/kfb/port.c
r7dba813 r6d5e378 163 163 /* Faster damage routine ignoring offsets. */ 164 164 for (sysarg_t y = y0; y < height + y0; ++y) { 165 pixel_t *pixel = pixelmap_pixel_at(map, x0, y);166 165 for (sysarg_t x = x0; x < width + x0; ++x) { 167 kfb.pixel2visual(kfb.addr + FB_POS(x, y), *pixel++); 166 kfb.pixel2visual(kfb.addr + FB_POS(x, y), 167 *pixelmap_pixel_at(map, x, y)); 168 168 } 169 169 } … … 344 344 return ENOMEM; 345 345 } 346 ddf_fun_set_ops(fun_vs, &graph_vsl_device_ops);346 fun_vs->ops = &graph_vsl_device_ops; 347 347 348 348 visualizer_t *vs = ddf_fun_data_alloc(fun_vs, sizeof(visualizer_t)); … … 380 380 } 381 381 382 vs->reg_svc_handle = ddf_fun_get_handle(fun_vs);382 vs->reg_svc_handle = fun_vs->handle; 383 383 ddf_fun_add_to_category(fun_vs, "visualizer"); 384 384
Note:
See TracChangeset
for help on using the changeset viewer.