gl46: fix framebuffer attachments for history
This commit is contained in:
parent
f03b7f83fb
commit
8474dcd6dc
|
@ -113,7 +113,7 @@ impl FramebufferInterface for Gl46Framebuffer {
|
|||
unsafe {
|
||||
// gl::NamedFramebufferDrawBuffer(fb.handle, gl::COLOR_ATTACHMENT1);
|
||||
gl::NamedFramebufferReadBuffer(image.handle, gl::COLOR_ATTACHMENT0);
|
||||
gl::NamedFramebufferDrawBuffer(fb.handle, gl::COLOR_ATTACHMENT1);
|
||||
gl::NamedFramebufferDrawBuffer(fb.handle, gl::COLOR_ATTACHMENT0);
|
||||
|
||||
gl::BlitNamedFramebuffer(
|
||||
image.handle,
|
||||
|
|
Loading…
Reference in a new issue