fix color

This commit is contained in:
Luna 2021-03-17 23:28:52 -03:00
parent ff653d4cdf
commit 4651616d30

View file

@ -103,7 +103,11 @@ pub fn main() anyerror!void {
processFrame(ctx); processFrame(ctx);
c.r_clear(c.mu_color(90, 95, 100, 255)); var clr = c.mu_Color{ .r = 255, .g = 0, .b = 0, .a = 255 };
std.debug.warn("color: {}\n", .{clr});
c.r_clear(clr);
std.debug.warn("sex\n", .{}); std.debug.warn("sex\n", .{});
var cmd: ?*c.mu_Command = null; var cmd: ?*c.mu_Command = null;
while (c.mu_next_command(ctx, &cmd) != 0) { while (c.mu_next_command(ctx, &cmd) != 0) {