mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-26 02:42: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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user