Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

Commit

Permalink
Update wm.c
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinAlavik authored Feb 24, 2024
1 parent 7b81b76 commit 834d43e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/system/wm/wm.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,9 @@ void init_wm() {
printf("%s\n", buf);
}

char *img;

vfs_op_status ss = driver_read(vfs, 0x00000000, "/root/IMG_3930.tga", &img);

if (ss == STATUS_OK) {
draw_targa_image(img, 2000000, 0, 0);
}

vfs_op_status ss = driver_read(vfs, 0x00000000, "", &img);
struct File *img_file = rd_get_file(rd, "/etc/fonts/nighterm.psf");
draw_targa_image(img, 2000000, 0, 0);
}

0 comments on commit 834d43e

Please sign in to comment.