#define U_DEBUG_FIRST_PRINT_CHAR 0x20
-r_color u_debug_colors[2] = {0x00000000, 0xFFFFFFFF};
+r_color u_debug_colors[2] = {0x000000FF, 0xFFFFFFFF};
#define u_debug_draw_pixel(x, y, i, c, bit) r_draw_pixel(&r_framebuffer, (x)+7-bit, (y) + i, u_debug_colors[c[i] >> bit & 0x01]);
continue;
}
font_offset = (u32)(c - U_DEBUG_FIRST_PRINT_CHAR) * U_DEBUG_FONT_H;
- u_debug_draw_char(x+U_DEBUG_FONT_W*i+U_DEBUG_FONT_W / 2 * i, y,
+ u_debug_draw_char(x+U_DEBUG_FONT_W*i, y,
u_debug_font + font_offset);
}