You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suggest that glBlendFunc be removed from the GL backend, I came across a case where I had to use my own blending function, I found this to be a bit limiting.
(Yes, I can edit the source, and that's what I did, but it's still worthy to discuss).
The text was updated successfully, but these errors were encountered:
Interesting point, but the solution can't be for the blend function setup to be removed. The common case requires it, and it would be silly (not to mention backwards incompatible) to suddenly require the application to set up blending before calling drawtext rendering.
I will think about this. Maybe a setting through dtx_set, although that sounds a bit clunky... But for now you can do exactly what you need by using the user-supplied drawing mechanism. See examples/userdraw/userdraw.c for an example of this.
I suggest that
glBlendFunc
be removed from the GL backend, I came across a case where I had to use my own blending function, I found this to be a bit limiting.(Yes, I can edit the source, and that's what I did, but it's still worthy to discuss).
The text was updated successfully, but these errors were encountered: