Godot version
3.3.4
System information
macOS 11.6, GLES3, M1
Issue description
Dragging to resize the game window makes it crash when rendering is multi-threaded. Doesn't happen on my intel mac -- only on M1. Using GLES2 seems to fix it in a simple project, but in a larger project it also crashes on GLES2.
Steps to reproduce
Create blank project.
Project Settings > Rendering > Thread > Multi-threaded
Play project
Resize window by dragging a side or corner for a bit to crash it.
Minimal reproduction project
No response