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