GUI elements not resized with WebGPU

GUI elements do not resize when changing canvas size and using WebGPU.

This works correctly with WebGL2.

On this PG, try to resize the canvas with WebGL, then try with WebGPU, GUI is not resizing. On the other hand, the meshes resize correctly in WebGPU and WebGL.

Result with WebGL :

Result with WebGPU :

Oh and when resizing with WebGPU, I have a crash and with its compilation errors in the console.
This happens when you open the console and resize it from top to bottom completely.


@sebavan, @Evgeni_Popov any ideas on this one?

This PR will fix the problem:

1 Like