#437 take rl.BlendMode instead of int32
This commit is contained in:
parent
b7833eeae8
commit
badf94c433
2 changed files with 3 additions and 3 deletions
|
@ -454,7 +454,7 @@ func CheckErrors() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetBlendMode - Set blending mode
|
// SetBlendMode - Set blending mode
|
||||||
func SetBlendMode(mode int32) {
|
func SetBlendMode(mode BlendMode) {
|
||||||
cmode := C.int(mode)
|
cmode := C.int(mode)
|
||||||
C.rlSetBlendMode(cmode)
|
C.rlSetBlendMode(cmode)
|
||||||
}
|
}
|
||||||
|
|
|
@ -597,8 +597,8 @@ func CheckErrors() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetBlendMode - Set blending mode
|
// SetBlendMode - Set blending mode
|
||||||
func SetBlendMode(mode int32) {
|
func SetBlendMode(mode BlendMode) {
|
||||||
rlSetBlendMode(mode)
|
rlSetBlendMode(int32(mode))
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetBlendFactors - Set blending mode factor and equation (using OpenGL factors)
|
// SetBlendFactors - Set blending mode factor and equation (using OpenGL factors)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue