opcon/QuickFont

Update to OpenTK 3.0.1

Closed this issue · 2 comments

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);
            }

Also I set the UseDefaultBlendFunction to false and it still threw an "Method not found exception".

opcon commented

Fixed in #45