From 1b397c77faa115bf6e7b96197a19e86fa4d373bd Mon Sep 17 00:00:00 2001 From: Jannik Vogel Date: Sat, 8 Apr 2017 18:33:17 +0200 Subject: [PATCH] Pica/Regs: Correct bit width for blend-equations --- src/video_core/regs_framebuffer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video_core/regs_framebuffer.h b/src/video_core/regs_framebuffer.h index 366782080..9ddc79243 100644 --- a/src/video_core/regs_framebuffer.h +++ b/src/video_core/regs_framebuffer.h @@ -89,8 +89,8 @@ struct FramebufferRegs { }; union { - BitField<0, 8, BlendEquation> blend_equation_rgb; - BitField<8, 8, BlendEquation> blend_equation_a; + BitField<0, 3, BlendEquation> blend_equation_rgb; + BitField<8, 3, BlendEquation> blend_equation_a; BitField<16, 4, BlendFactor> factor_source_rgb; BitField<20, 4, BlendFactor> factor_dest_rgb;