Don't use C for constants
This commit is contained in:
parent
6fc955d098
commit
6f72c4f5af
4 changed files with 46 additions and 46 deletions
|
@ -67,9 +67,9 @@ type BlendMode int32
|
|||
|
||||
// Color blending modes (pre-defined)
|
||||
const (
|
||||
BlendAlpha BlendMode = C.BLEND_ALPHA
|
||||
BlendAdditive BlendMode = C.BLEND_ADDITIVE
|
||||
BlendMultiplied BlendMode = C.BLEND_MULTIPLIED
|
||||
BlendAlpha BlendMode = iota
|
||||
BlendAdditive
|
||||
BlendMultiplied
|
||||
)
|
||||
|
||||
// Shader type (generic shader)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue