From 46a218c27860e6b1685df4be9499e19bbec6cbf6 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Mon, 17 Oct 2022 01:11:40 +0900 Subject: [PATCH] internal/graphicsdriver/metal/mtl: bug fix: wrong renaming Updates #2382 --- internal/graphicsdriver/metal/mtl/mtl_darwin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/graphicsdriver/metal/mtl/mtl_darwin.go b/internal/graphicsdriver/metal/mtl/mtl_darwin.go index 872b9920f..99bddbd0b 100644 --- a/internal/graphicsdriver/metal/mtl/mtl_darwin.go +++ b/internal/graphicsdriver/metal/mtl/mtl_darwin.go @@ -271,7 +271,7 @@ type BlendFactor uint8 const ( BlendFactorZero BlendFactor = 0 BlendFactorOne BlendFactor = 1 - BlendFactorSourceRGB BlendFactor = 2 + BlendFactorSourceColor BlendFactor = 2 BlendFactorOneMinusSourceColor BlendFactor = 3 BlendFactorSourceAlpha BlendFactor = 4 BlendFactorOneMinusSourceAlpha BlendFactor = 5