Skip to content

Commit e4b29ff

Browse files
committed
switch off preserveDrawingBuffer for possible speed improvement (we appear to not use the preservation aspect)
1 parent fffddcb commit e4b29ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plots/gl2d/scene2d.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ proto.makeFramework = function() {
8484

8585
try {
8686
STATIC_CONTEXT = STATIC_CANVAS.getContext('webgl', {
87-
preserveDrawingBuffer: true,
87+
preserveDrawingBuffer: false,
8888
premultipliedAlpha: true,
8989
antialias: true
9090
});

0 commit comments

Comments
 (0)