Workaround for Chrome 41 issue Canvas + Radeon :

Issue opened at https://code.google.com/p/chromium/issues/detail?id=469906
Workaround in FrameRenderer.js is to decrease the width+height of the
fillRect of 1 pixel.
Issue seems to impact only Radeon users (not sure if all cards are
impacted)
This commit is contained in:
jdescottes 2015-03-24 16:02:47 +01:00
parent 5224c9ddd8
commit 6328fe760f

View File

@ -239,7 +239,7 @@
if (this.canvas.width*this.zoom < this.displayCanvas.width || this.canvas.height*this.zoom < this.displayCanvas.height) { if (this.canvas.width*this.zoom < this.displayCanvas.width || this.canvas.height*this.zoom < this.displayCanvas.height) {
displayContext.fillStyle = Constants.ZOOMED_OUT_BACKGROUND_COLOR; displayContext.fillStyle = Constants.ZOOMED_OUT_BACKGROUND_COLOR;
displayContext.fillRect(0,0,this.displayCanvas.width, this.displayCanvas.height); displayContext.fillRect(0,0,this.displayCanvas.width - 1, this.displayCanvas.height - 1);
} }
displayContext.translate( displayContext.translate(