This fixes pixel distortion of the wall textures. This was produced because we were always using a 320x200 video buffer, regardless of the window resolution, and scaling it up every time we presented to the canvas.
Now the buffer has the same resolution as the window (defaults to 960x600), making the walls look better. Note that, in my laptop, the debug target is now slow at this resolution, but it works fine on a release build because of optimizations (we could look into optimizing to make it run smoothly in debug at higher resolutions).
This fixes pixel distortion of the wall textures. This was produced because we were always using a 320x200 video buffer, regardless of the window resolution, and scaling it up every time we presented to the canvas.
Now the buffer has the same resolution as the window (defaults to 960x600), making the walls look better. Note that, in my laptop, the debug target is now slow at this resolution, but it works fine on a release build because of optimizations (we could look into optimizing to make it run smoothly in debug at higher resolutions).