floooh / sokol

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

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

Closed kochol closed 2 months ago

kochol commented 2 months ago

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

floooh commented 2 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 2 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.