diff options
Diffstat (limited to 'tools/seq_compiler.py')
| -rwxr-xr-x | tools/seq_compiler.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/seq_compiler.py b/tools/seq_compiler.py index e3f93af..dfd2ea4 100755 --- a/tools/seq_compiler.py +++ b/tools/seq_compiler.py @@ -663,7 +663,8 @@ void RenderTimeline(WGPUSurface surface, float time, int width, int height, WGPUSurfaceTexture surface_texture; wgpuSurfaceGetCurrentTexture(surface, &surface_texture); - if (surface_texture.status == WGPUSurfaceGetCurrentTextureStatus_SuccessOptimal) { + if (surface_texture.status == WGPUSurfaceGetCurrentTextureStatus_SuccessOptimal || + surface_texture.status == WGPUSurfaceGetCurrentTextureStatus_SuccessSuboptimal) { WGPURenderPassColorAttachment blit_attach = {}; WGPUTextureView blit_view = surface_texture.texture ? wgpuTextureCreateView(surface_texture.texture, nullptr) |
