make preserveDrawingBuffer configurable
This commit is contained in:
@@ -328,7 +328,7 @@ class HTML5Window
|
||||
depth: Reflect.hasField(contextAttributes, "depth") ? contextAttributes.depth : true,
|
||||
premultipliedAlpha: true,
|
||||
stencil: Reflect.hasField(contextAttributes, "stencil") ? contextAttributes.stencil : false,
|
||||
preserveDrawingBuffer: false,
|
||||
preserveDrawingBuffer: Reflect.hasField(contextAttributes, "preserveDrawingBuffer") ? contextAttributes.preserveDrawingBuffer : false,
|
||||
failIfMajorPerformanceCaveat: false
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user