mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
GPU: Special case to avoid assert on GenerateMipmaps (#12995)
This commit is contained in:
parent
7b3bd8c538
commit
86b206dadf
2 changed files with 20 additions and 2 deletions
|
|
@ -66,6 +66,8 @@ typedef struct CommandBufferCommonHeader
|
|||
Pass copy_pass;
|
||||
bool swapchain_texture_acquired;
|
||||
bool submitted;
|
||||
// used to avoid tripping assert on GenerateMipmaps
|
||||
bool ignore_render_pass_texture_validation;
|
||||
} CommandBufferCommonHeader;
|
||||
|
||||
typedef struct TextureCommonHeader
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue