From 5a83e8ef8250526a40e8e69c6398f990ab482b2f Mon Sep 17 00:00:00 2001 From: Olivier Fourdan Date: Fri, 2 Jun 2023 14:42:51 +0200 Subject: [PATCH] cogl/gl-framebuffer: Fix spurious trailing spaces Purely cosmetic fix, no functional change. Part-of: --- cogl/cogl/driver/gl/cogl-gl-framebuffer-back.c | 12 ++++++------ cogl/cogl/driver/gl/cogl-gl-framebuffer-fbo.c | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/cogl/cogl/driver/gl/cogl-gl-framebuffer-back.c b/cogl/cogl/driver/gl/cogl-gl-framebuffer-back.c index d6609bb20..8d76f1578 100644 --- a/cogl/cogl/driver/gl/cogl-gl-framebuffer-back.c +++ b/cogl/cogl/driver/gl/cogl-gl-framebuffer-back.c @@ -72,32 +72,32 @@ ensure_bits_initialized (CoglGlFramebufferBack *gl_framebuffer_back) GLenum attachment, pname; size_t offset; } params[] = { - { + { .attachment = GL_BACK_LEFT, .pname = GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE, .offset = offsetof (CoglFramebufferBits, red), }, - { + { .attachment = GL_BACK_LEFT, .pname = GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE, .offset = offsetof (CoglFramebufferBits, green), }, - { + { .attachment = GL_BACK_LEFT, .pname = GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE, .offset = offsetof (CoglFramebufferBits, blue), }, - { + { .attachment = GL_BACK_LEFT, .pname = GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE, .offset = offsetof (CoglFramebufferBits, alpha), }, - { + { .attachment = GL_DEPTH, .pname = GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE, .offset = offsetof (CoglFramebufferBits, depth), }, - { + { .attachment = GL_STENCIL, .pname = GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE, .offset = offsetof (CoglFramebufferBits, stencil), diff --git a/cogl/cogl/driver/gl/cogl-gl-framebuffer-fbo.c b/cogl/cogl/driver/gl/cogl-gl-framebuffer-fbo.c index c8db6a23a..1ffc1d535 100644 --- a/cogl/cogl/driver/gl/cogl-gl-framebuffer-fbo.c +++ b/cogl/cogl/driver/gl/cogl-gl-framebuffer-fbo.c @@ -82,32 +82,32 @@ ensure_bits_initialized (CoglGlFramebufferFbo *gl_framebuffer_fbo) GLenum attachment, pname; size_t offset; } params[] = { - { + { .attachment = GL_COLOR_ATTACHMENT0, .pname = GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE, .offset = offsetof (CoglFramebufferBits, red), }, - { + { .attachment = GL_COLOR_ATTACHMENT0, .pname = GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE, .offset = offsetof (CoglFramebufferBits, green), }, - { + { .attachment = GL_COLOR_ATTACHMENT0, .pname = GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE, .offset = offsetof (CoglFramebufferBits, blue), }, - { + { .attachment = GL_COLOR_ATTACHMENT0, .pname = GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE, .offset = offsetof (CoglFramebufferBits, alpha), }, - { + { .attachment = GL_DEPTH_ATTACHMENT, .pname = GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE, .offset = offsetof (CoglFramebufferBits, depth), }, - { + { .attachment = GL_STENCIL_ATTACHMENT, .pname = GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE, .offset = offsetof (CoglFramebufferBits, stencil),