diff options
| author | Andre Weissflog <floooh@gmail.com> | 2024-04-21 16:20:42 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2024-04-21 16:20:42 +0200 |
| commit | 4fac1bb845c011ed91446f511d86c7ce50e15e42 (patch) | |
| tree | 1d3d6fc599265add468ec3cbf135fef6bff30270 /util/sokol_debugtext.h | |
| parent | 7e1035cb0dff181ca5ded241914ae128318e7d46 (diff) | |
| parent | 4534e02d6c83e23fa212ac29c1fd90d8a22f5419 (diff) | |
Merge branch 'master' into storage-buffers
Diffstat (limited to 'util/sokol_debugtext.h')
| -rw-r--r-- | util/sokol_debugtext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/sokol_debugtext.h b/util/sokol_debugtext.h index 7cc3fd5b..12ca7a64 100644 --- a/util/sokol_debugtext.h +++ b/util/sokol_debugtext.h @@ -3855,8 +3855,8 @@ static void _sdtx_init_context(sdtx_context ctx_id, const sdtx_context_desc_t* i pip_desc.colors[0].blend.enabled = true; pip_desc.colors[0].blend.src_factor_rgb = SG_BLENDFACTOR_SRC_ALPHA; pip_desc.colors[0].blend.dst_factor_rgb = SG_BLENDFACTOR_ONE_MINUS_SRC_ALPHA; - pip_desc.colors[0].blend.src_factor_alpha = SG_BLENDFACTOR_ZERO; - pip_desc.colors[0].blend.dst_factor_alpha = SG_BLENDFACTOR_ONE; + pip_desc.colors[0].blend.src_factor_alpha = SG_BLENDFACTOR_ONE; + pip_desc.colors[0].blend.dst_factor_alpha = SG_BLENDFACTOR_ZERO; pip_desc.label = "sdtx-pipeline"; ctx->pip = sg_make_pipeline(&pip_desc); SOKOL_ASSERT(SG_INVALID_ID != ctx->pip.id); |