Open varstr opened 10 years ago
Same error for me
Hey, sorry I have been busy. I will look into it over the weekend.
I change line 129 to "openal.SetDistanceModel(openal.GetDistanceModel())"
If you cast this.distanceModel everything will work
The problem above appears to be that calling openal.SetDistanceModel()
with openal.GetDistanceModel()
would mean you would always set the distance model to the same model it was previous set to...
For line 129 I changed
openal.SetDistanceModel(int32(this.DistanceModel))
That way if this.distanceModel
is updated then this change would have an effect.
Maybe I am missing a piece here, but so far this works for me and seems to maintain the functionality.