mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-27 15:09:11 +00:00
gpu: define EXPAND_ARRAY_IF_NEEDED macro once and make it function-like
This commit is contained in:
parent
0370b92d80
commit
fb71b44231
4 changed files with 22 additions and 28 deletions
|
@ -247,7 +247,7 @@ SDL_GPUGraphicsPipeline *SDL_GPU_FetchBlitPipeline(
|
|||
BlitPipelineCacheEntry,
|
||||
*blit_pipeline_count + 1,
|
||||
*blit_pipeline_capacity,
|
||||
*blit_pipeline_capacity * 2)
|
||||
*blit_pipeline_capacity * 2);
|
||||
|
||||
(*blit_pipelines)[*blit_pipeline_count].pipeline = pipeline;
|
||||
(*blit_pipelines)[*blit_pipeline_count].type = source_texture_type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue