Explorar el Código

Merge pull request #2658 from JayFoxRox/blend-equation-fix

Pica/Regs: Correct bit width for blend-equations
James Rowe hace 9 años
padre
commit
9007c48992
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/video_core/regs_framebuffer.h

+ 2 - 2
src/video_core/regs_framebuffer.h

@@ -89,8 +89,8 @@ struct FramebufferRegs {
         };
         };
 
 
         union {
         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<16, 4, BlendFactor> factor_source_rgb;
             BitField<20, 4, BlendFactor> factor_dest_rgb;
             BitField<20, 4, BlendFactor> factor_dest_rgb;