Browse Source

doc: add missing braces.

Signed-off-by: Squareys <Squareys@googlemail.com>
pull/94/head
Squareys 11 years ago
parent
commit
737ca4b04a
  1. 2
      src/Magnum/Framebuffer.h

2
src/Magnum/Framebuffer.h

@ -55,7 +55,7 @@ textures for actual on-screen rendering. First you need to create the
framebuffer with the same viewport as default framebuffer and attach textures framebuffer with the same viewport as default framebuffer and attach textures
and renderbuffers to desired outputs: and renderbuffers to desired outputs:
@code @code
Framebuffer framebuffer(defaultFramebuffer.viewportPosition(), defaultFramebuffer.viewportSize()); Framebuffer framebuffer({defaultFramebuffer.viewportPosition(), defaultFramebuffer.viewportSize()});
Texture2D color, normal; Texture2D color, normal;
Renderbuffer depthStencil; Renderbuffer depthStencil;

Loading…
Cancel
Save