Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/fb/kfb/port.c

    r7dba813 r6d5e378  
    163163                /* Faster damage routine ignoring offsets. */
    164164                for (sysarg_t y = y0; y < height + y0; ++y) {
    165                         pixel_t *pixel = pixelmap_pixel_at(map, x0, y);
    166165                        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));
    168168                        }
    169169                }
     
    344344                return ENOMEM;
    345345        }
    346         ddf_fun_set_ops(fun_vs, &graph_vsl_device_ops);
     346        fun_vs->ops = &graph_vsl_device_ops;
    347347
    348348        visualizer_t *vs = ddf_fun_data_alloc(fun_vs, sizeof(visualizer_t));
     
    380380        }
    381381
    382         vs->reg_svc_handle = ddf_fun_get_handle(fun_vs);
     382        vs->reg_svc_handle = fun_vs->handle;
    383383        ddf_fun_add_to_category(fun_vs, "visualizer");
    384384
Note: See TracChangeset for help on using the changeset viewer.