mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
cogl/gl-framebuffer: Fix spurious trailing spaces
Purely cosmetic fix, no functional change. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3047>
This commit is contained in:
parent
c36f3f0101
commit
5a83e8ef82
@ -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),
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user