floooh / sokol

minimal cross-platform standalone C headers
https://floooh.github.io/sokol-html5
zlib License
7.12k stars 501 forks source link

Delete the code that always force debug text alpha to zero. #1020

Closed kochol closed 7 months ago

kochol commented 7 months ago

Now, the debug text can be properly blended with other renderings during offscreen rendering.

floooh commented 7 months ago

Oops, the actual bug is that the src and dst alpha factors are flipped, I'll fix that in a commit (just removing the two lines to use the defaults is a bit confusing IMHO).

floooh commented 7 months ago

Ok, I committed this change instead:

https://github.com/floooh/sokol/commit/6747384927e4520bd3391bba81bf416567655239

Many thanks for the PR, and apologies for closing instead of merging.