Add MLX42 V3
This commit is contained in:
@ -19,10 +19,10 @@
|
||||
// GIMP RGBA C-Source image dump (font.c)
|
||||
static struct s_font
|
||||
{
|
||||
uint32_t width;
|
||||
uint32_t height;
|
||||
uint32_t bpp;
|
||||
char* pixels;
|
||||
uint32_t width;
|
||||
uint32_t height;
|
||||
uint32_t bpp;
|
||||
uint8_t pixels[1140 * 20 * 4 + 1];
|
||||
} font_atlas = {
|
||||
1140, 20, 4,
|
||||
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
|
||||
|
@ -31,7 +31,7 @@ static void mlx_draw_char(mlx_image_t* image, int32_t texoffset, int32_t imgoffs
|
||||
if (texoffset < 0)
|
||||
return;
|
||||
|
||||
char* pixelx;
|
||||
uint8_t* pixelx;
|
||||
uint8_t* pixeli;
|
||||
for (uint32_t y = 0; y < FONT_HEIGHT; y++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user