/* * Copyright (C) 2024 dwlr * * BSD 3-Clause License (BSD-3-Clause) * See LICENSE for details */ #include #include "common.h" #include "tga.c" #include "cli.c" const u8 image[] = { #include "image.tga.h" }; int main(void) { texture tex = {0}; tga2tex_from_mem(&tex, image, sizeof(image)); cli_draw_tex(&tex, true); /* true - Black&White, false - True Color */ return 0; }