Browse Source

doc: don't use deprecated functionality.

Ehhh. That should have been only one commit, not three.
pull/107/head
Vladimír Vondruš 11 years ago
parent
commit
ac0dbbf74f
  1. 2
      doc/generated/shaders.cpp

2
doc/generated/shaders.cpp

@ -110,7 +110,7 @@ int ShaderVisualizer::exec() {
Framebuffer multisampleFramebuffer{{{}, ImageSize}};
multisampleFramebuffer.attachRenderbuffer(Framebuffer::ColorAttachment{0}, multisampleColor)
.attachRenderbuffer(Framebuffer::BufferAttachment::Depth, multisampleDepth)
.bind(FramebufferTarget::Draw);
.bind();
CORRADE_INTERNAL_ASSERT(multisampleFramebuffer.checkStatus(FramebufferTarget::ReadDraw) == Framebuffer::Status::Complete);
Renderbuffer color;

Loading…
Cancel
Save