From d918dfb496c288d2422fb543f58c2b6476174e96 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Tue, 16 Aug 2022 23:16:10 -0700 Subject: [PATCH] gpu: correct BlendState default values Signed-off-by: Stephen Gutekanst --- gpu/src/types.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpu/src/types.zig b/gpu/src/types.zig index 83f10c48..d9bfa109 100644 --- a/gpu/src/types.zig +++ b/gpu/src/types.zig @@ -617,8 +617,8 @@ pub const VertexAttribute = extern struct { }; pub const BlendState = extern struct { - color: BlendComponent, - alpha: BlendComponent, + color: BlendComponent = .{}, + alpha: BlendComponent = .{}, }; pub const CompilationInfo = extern struct {