Allow WebGL canvas to be premultiplied, better performance
This commit is contained in:
@@ -67,7 +67,7 @@ class HTML5Renderer {
|
||||
alpha: (Reflect.hasField (parent.window.config, "background") && parent.window.config.background == null) ? true : false,
|
||||
antialias: Reflect.hasField (parent.window.config, "antialiasing") ? parent.window.config.antialiasing > 0 : false,
|
||||
depth: Reflect.hasField (parent.window.config, "depthBuffer") ? parent.window.config.depthBuffer : true,
|
||||
premultipliedAlpha: false,
|
||||
premultipliedAlpha: true,
|
||||
stencil: Reflect.hasField (parent.window.config, "stencilBuffer") ? parent.window.config.stencilBuffer : false,
|
||||
preserveDrawingBuffer: false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user