Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-09-02 03:04:50 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-09-02 03:04:50 +0300
commit957346694d49736408abea13cf9b33fa531b1ea2 (patch)
tree5da23cf433f3c28426856b76a0a6679e2fcc3f4d /source/blender/gpu/intern/gpu_framebuffer_private.hh
parent71aa3c864d20fb577c7c2aa94e756fcd88aaa795 (diff)
Cleanup: spelling, rename attachement -> attachment
Diffstat (limited to 'source/blender/gpu/intern/gpu_framebuffer_private.hh')
-rw-r--r--source/blender/gpu/intern/gpu_framebuffer_private.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/gpu/intern/gpu_framebuffer_private.hh b/source/blender/gpu/intern/gpu_framebuffer_private.hh
index 1add3cd9b0f..0f442ff2b34 100644
--- a/source/blender/gpu/intern/gpu_framebuffer_private.hh
+++ b/source/blender/gpu/intern/gpu_framebuffer_private.hh
@@ -52,9 +52,9 @@ typedef enum GPUAttachmentType : int {
* We support 6 outputs for now (usually we wouldn't need more to preserve fill rate). */
/* Keep in mind that GL max is GL_MAX_DRAW_BUFFERS and is at least 8, corresponding to
* the maximum number of COLOR attachments specified by glDrawBuffers. */
- GPU_FB_MAX_ATTACHEMENT,
+ GPU_FB_MAX_ATTACHMENT,
- GPU_FB_MAX_COLOR_ATTACHMENT = (GPU_FB_MAX_ATTACHEMENT - GPU_FB_COLOR_ATTACHMENT0),
+ GPU_FB_MAX_COLOR_ATTACHMENT = (GPU_FB_MAX_ATTACHMENT - GPU_FB_COLOR_ATTACHMENT0),
} GPUAttachmentType;
inline constexpr GPUAttachmentType operator-(GPUAttachmentType a, int b)
@@ -91,7 +91,7 @@ namespace gpu {
class FrameBuffer {
protected:
/** Set of texture attachments to render to. DEPTH and DEPTH_STENCIL are mutually exclusive. */
- GPUAttachment attachments_[GPU_FB_MAX_ATTACHEMENT];
+ GPUAttachment attachments_[GPU_FB_MAX_ATTACHMENT];
/** Is true if internal representation need to be updated. */
bool dirty_attachments_;
/** Size of attachment textures. */