When changing video mode in the VDP, check that the display height is the same as the viewport or canvas height. If they are not (viewport or canvas height < display height) then the mode has not been set correctly due to lack of memory on the ESP32. Throw an error and revert back to original mode.
When changing video mode in the VDP, check that the display height is the same as the viewport or canvas height. If they are not (viewport or canvas height < display height) then the mode has not been set correctly due to lack of memory on the ESP32. Throw an error and revert back to original mode.