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

Update webrender #22598

Merged
merged 3 commits into from Jan 18, 2019
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Delete texture when taking a screenshot, not a buffer.

  • Loading branch information
jdm committed Jan 17, 2019
commit 85c1c5ad13f891a8b1d4ce13aead7fd0f176a1a7
@@ -106,7 +106,7 @@ pub fn draw_img(

gl.bind_framebuffer(gl::FRAMEBUFFER, 0);

gl.delete_buffers(&render_target_info.texture_ids);
gl.delete_textures(&render_target_info.texture_ids);

This comment has been minimized.

Copy link
@nox

nox Jan 17, 2019

Member

Ouch. :)

gl.delete_renderbuffers(&render_target_info.renderbuffer_ids);
gl.delete_framebuffers(&render_target_info.framebuffer_ids);

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.