From fd83b95d85c2d28f6fd37dfaf34fb6ee1dc94225 Mon Sep 17 00:00:00 2001 From: Larpon Date: Thu, 11 Aug 2022 19:49:11 +0200 Subject: [PATCH] sokol: expose context_pool_size field on sgl.Desc (#15409) --- vlib/sokol/sgl/sgl_structs.c.v | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vlib/sokol/sgl/sgl_structs.c.v b/vlib/sokol/sgl/sgl_structs.c.v index aa0cd19d0..d06d506a2 100644 --- a/vlib/sokol/sgl/sgl_structs.c.v +++ b/vlib/sokol/sgl/sgl_structs.c.v @@ -39,7 +39,8 @@ pub type Desc = C.sgl_desc_t struct C.sgl_desc_t { max_vertices int // size for vertex buffer max_commands int // size of uniform- and command-buffers - pipeline_pool_size int // size of the internal pipeline pool, default is 64 + context_pool_size int // max number of contexts (including default context), default: 4 + pipeline_pool_size int // size of internal pipeline pool, default: 64 color_format gfx.PixelFormat // C.sg_pixel_format depth_format gfx.PixelFormat // C.sg_pixel_format sample_count int -- 2.30.2