mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
gg: revamp the Context
pipeline for more effects, implement an additive
effect (#16394)
This commit is contained in:
@@ -196,7 +196,7 @@ pub fn (tf_skl TTF_render_Sokol) draw_text_bmp(ctx &gg.Context, x f32, y f32) {
|
||||
]
|
||||
sgl.mult_matrix(m)
|
||||
//
|
||||
sgl.load_pipeline(ctx.timage_pip)
|
||||
sgl.load_pipeline(ctx.pipeline.alpha)
|
||||
sgl.enable_texture()
|
||||
sgl.texture(tf_skl.sg_img)
|
||||
sgl.begin_quads()
|
||||
|
Reference in New Issue
Block a user