internal/graphicsdriver: use byte for blending members

This commit is contained in:
Hajime Hoshi 2022-10-16 20:49:12 +09:00
parent b6987b6312
commit bd0d43f98f

View File

@ -23,7 +23,7 @@ type Blend struct {
BlendOperationAlpha BlendOperation BlendOperationAlpha BlendOperation
} }
type BlendFactor int type BlendFactor byte
const ( const (
BlendFactorZero BlendFactor = iota BlendFactorZero BlendFactor = iota
@ -35,7 +35,7 @@ const (
BlendFactorDestinationColor BlendFactorDestinationColor
) )
type BlendOperation int type BlendOperation byte
const ( const (
BlendOperationAdd BlendOperation = iota BlendOperationAdd BlendOperation = iota