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