Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 63a941a

Browse files
committedJul 10, 2021
Fix stamping vector skins in high quality pen
1 parent ada7c4d commit 63a941a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎src/RenderWebGL.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -1697,7 +1697,11 @@ class RenderWebGL extends EventEmitter {
16971697
const projection = twgl.m4.ortho(bounds.left, bounds.right, bounds.top, bounds.bottom, -1, 1);
16981698

16991699
// Draw the stamped sprite onto the PenSkin's framebuffer.
1700-
this._drawThese([stampID], ShaderManager.DRAW_MODE.default, projection, {ignoreVisibility: true});
1700+
this._drawThese([stampID], ShaderManager.DRAW_MODE.default, projection, {
1701+
ignoreVisibility: true,
1702+
framebufferWidth: this._nativeSize[0] * skin.renderQuality,
1703+
framebufferHeight: this._nativeSize[1] * skin.renderQuality
1704+
});
17011705
skin._silhouetteDirty = true;
17021706
}
17031707

0 commit comments

Comments
 (0)
Please sign in to comment.