Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear to transparent for rounded corners in browser.html. #209

Merged
merged 1 commit into from Mar 1, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -384,7 +384,7 @@ impl Renderer {
self.device.begin_frame();

gl::disable(gl::SCISSOR_TEST);
gl::clear_color(1.0, 1.0, 1.0, 1.0);
gl::clear_color(1.0, 1.0, 1.0, 0.0);
gl::clear(gl::COLOR_BUFFER_BIT | gl::DEPTH_BUFFER_BIT | gl::STENCIL_BUFFER_BIT);

self.update_shaders();
@@ -1158,7 +1158,7 @@ impl Renderer {
let clear_color = if layer.texture_id.is_some() {
ColorF::new(0.0, 0.0, 0.0, 0.0)
} else {
ColorF::new(1.0, 1.0, 1.0, 1.0)
ColorF::new(1.0, 1.0, 1.0, 0.0)
};
gl::clear_color(clear_color.r, clear_color.g, clear_color.b, clear_color.a);
gl::clear(gl::COLOR_BUFFER_BIT | gl::DEPTH_BUFFER_BIT | gl::STENCIL_BUFFER_BIT);
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.