17573207179
3.8 did not take into consideration device pixel ratio. We won't patch it since it's a very old release, but you can do that by yourself.
Look at the first lines of code in the resize
method in this file and compare it to the same file in 4.2
As you can see we have in 3.8:
let canvas = this.canvas;
var w = canvas.clientWidth;
var h = canvas.clientHeight;
While in 4.2:
let canvas = this.canvas;
var dpr = window.devicePixelRatio || 1;
var w = Math.round(canvas.clientWidth * dpr);
var h = Math.round(canvas.clientHeight * dpr);
If you apply the same modification, you should get the same result of 4.2.