Update to OpenTK 3.0.1
MutterOberin opened this issue · comments
MutterOberin commented
In OpenTK 3.0.1 the signature of GL.BlendFunc
changed. The enums are BlendFactor
instead of BlendFactorSrc
and BlendFactor
instead of BlendFactorDest
Update the call QFontDrawing accordingly:
if (_useDefaultBlendFunction)
{
GL.Enable(EnableCap.Blend);
GL.BlendFunc(BlendingFactor.SrcAlpha, BlendingFactor.OneMinusSrcAlpha);
}
MutterOberin commented
Also I set the UseDefaultBlendFunction
to false
and it still threw an "Method not found exception".
Patrick Yates-Jones commented
Fixed in #45