@lightningjs/renderer
Advanced tools
Comparing version 2.5.0 to 2.5.1
@@ -488,2 +488,4 @@ /* | ||
glw.viewport(0, 0, ctxTexture.w, ctxTexture.h); | ||
// Set the clear color to transparent | ||
glw.clearColor(0, 0, 0, 0); | ||
glw.clear(); | ||
@@ -512,2 +514,5 @@ // Render all associated quads to the texture | ||
} | ||
const color = getNormalizedRgbaComponents(this.stage.options.clearColor); | ||
// Restore the default clear color | ||
glw.clearColor(color[0], color[1], color[2], color[3]); | ||
// Bind the default framebuffer | ||
@@ -514,0 +519,0 @@ glw.bindFramebuffer(null); |
{ | ||
"name": "@lightningjs/renderer", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"description": "Lightning 3 Renderer", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -658,2 +658,4 @@ /* | ||
glw.viewport(0, 0, ctxTexture.w, ctxTexture.h); | ||
// Set the clear color to transparent | ||
glw.clearColor(0, 0, 0, 0); | ||
glw.clear(); | ||
@@ -687,2 +689,6 @@ | ||
const color = getNormalizedRgbaComponents(this.stage.options.clearColor); | ||
// Restore the default clear color | ||
glw.clearColor(color[0]!, color[1]!, color[2]!, color[3]!); | ||
// Bind the default framebuffer | ||
@@ -689,0 +695,0 @@ glw.bindFramebuffer(null); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2035604
44876