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
}
type BlendFactor int
type BlendFactor byte
const (
BlendFactorZero BlendFactor = iota
@ -35,7 +35,7 @@ const (
BlendFactorDestinationColor
)
type BlendOperation int
type BlendOperation byte
const (
BlendOperationAdd BlendOperation = iota