Everywhere: Use ctx->plot()
This commit is contained in:
parent
6232873c49
commit
6d1fbb51ac
2 changed files with 10 additions and 8 deletions
|
@ -110,9 +110,9 @@ U0 @templeos_winmgr_redraw()
|
|||
dc = DCScrnCapture;
|
||||
for (y = 0; y < GR_HEIGHT; y++) {
|
||||
for (x = 0; x < GR_WIDTH; x++) {
|
||||
Plot2D(win->render_ctx, x + 4, y + 24,
|
||||
win->render_ctx->plot(x + 4, y + 24,
|
||||
tos_palette_std[dc->body[(y * dc->width) + x]]);
|
||||
Plot2D(win->backing_store, x + 4, y + 24,
|
||||
win->backing_store->plot(x + 4, y + 24,
|
||||
tos_palette_std[dc->body[(y * dc->width) + x]]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue