[Mesa-dev] [PATCH 02/13] mesa: fix indentation

Timothy Arceri tarceri at itsqueeze.com
Mon May 8 06:35:26 UTC 2017


---
 src/mesa/main/fbobject.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index ad49b0e..df7cc17 100644
--- a/src/mesa/main/fbobject.c
+++ b/src/mesa/main/fbobject.c
@@ -296,21 +296,21 @@ get_fb0_attachment(struct gl_context *ctx, struct gl_framebuffer *fb,
              attachment == GL_STENCIL);
       switch (attachment) {
       case GL_BACK:
          /* Since there is no stereo rendering in ES 3.0, only return the
           * LEFT bits.
           */
          if (ctx->DrawBuffer->Visual.doubleBufferMode)
             return &fb->Attachment[BUFFER_BACK_LEFT];
          return &fb->Attachment[BUFFER_FRONT_LEFT];
       case GL_DEPTH:
-      return &fb->Attachment[BUFFER_DEPTH];
+         return &fb->Attachment[BUFFER_DEPTH];
       case GL_STENCIL:
          return &fb->Attachment[BUFFER_STENCIL];
       }
    }
 
    switch (attachment) {
    case GL_FRONT_LEFT:
       /* Front buffers can be allocated on the first use, but
        * glGetFramebufferAttachmentParameteriv must work even if that
        * allocation hasn't happened yet. In such case, use the back buffer,
-- 
2.9.3



More information about the mesa-dev mailing list