Skip to content

Commit

Permalink
sokol: Increase buffer pool size
Browse files Browse the repository at this point in the history
  • Loading branch information
IonAgorria committed Feb 21, 2024
1 parent 8d6f09e commit 6b11b99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Render/sokol/SokolRender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ int cSokolRender::Init(int xScr, int yScr, int mode, SDL_Window* wnd, int Refres
sg_desc desc = {};
desc.pipeline_pool_size = PERIMETER_SOKOL_PIPELINES_MAX,
desc.shader_pool_size = 8,
desc.buffer_pool_size = 2048 * 2; //2048 is enough for PGW+PET game
desc.buffer_pool_size = 1024 * 8;
desc.image_pool_size = 1024 * 4; //1024 is enough for PGW+PET game
desc.context.color_format = SG_PIXELFORMAT_RGBA8;
desc.context.depth_format = SG_PIXELFORMAT_DEPTH_STENCIL;
Expand Down

0 comments on commit 6b11b99

Please sign in to comment.