RECTANGLE executing RectangleCommand { textured: true, semi_transparent: false, texture_blending: false, size_mode: 0, size: [ 24, 16, ], vertices: [ DrawingVertex { position: [ 132.0, 111.0, ], color: [ 0.05882353, 0.05882353, 0.05882353, ], tex_coord: [ 224, 8, ], }, DrawingVertex { position: [ 156.0, 111.0, ], color: [ 0.05882353, 0.05882353, 0.05882353, ], tex_coord: [ 248, 8, ], }, DrawingVertex { position: [ 132.0, 127.0, ], color: [ 0.05882353, 0.05882353, 0.05882353, ], tex_coord: [ 224, 24, ], }, DrawingVertex { position: [ 156.0, 111.0, ], color: [ 0.05882353, 0.05882353, 0.05882353, ], tex_coord: [ 248, 8, ], }, DrawingVertex { position: [ 132.0, 127.0, ], color: [ 0.05882353, 0.05882353, 0.05882353, ], tex_coord: [ 224, 24, ], }, DrawingVertex { position: [ 156.0, 127.0, ], color: [ 0.05882353, 0.05882353, 0.05882353, ], tex_coord: [ 248, 24, ], }, ], texture_params: DrawingTextureParams { clut_base: [ 256, 481, ], tex_page_base: [ 960, 256, ], semi_transparency_mode: 2, tex_page_color_mode: 0, texture_disable: false, }, current_input_state: 3, } blending modes now src = F dst = B 0: enabled: src * 0.5 + dst * 0.5 disabled: src * 1.0 + dst * 0.0 expected: B * 0.5 + F * 0.5 B * 0.0 + F * 1.0 1: enabled: src * 1.0 + dst * 1.0 disabled: src * 1.0 + dst * 0.0 expected: B * 1.0 + F * 1.0 B * 0.0 + F * 1.0 2: enabled: dst * 1 - src * 1 disabled: dst * 0 - src * 1.0 expected: B * 1.0 - F * 1.0 B * 0.0 + F * 1.0