mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-24 18:02:02 +01:00
internal/graphicsdriver: use byte for blending members
This commit is contained in:
parent
b6987b6312
commit
bd0d43f98f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user