diff options
Diffstat (limited to 'src/mesa/main/blit.c')
-rw-r--r-- | src/mesa/main/blit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/blit.c b/src/mesa/main/blit.c index b244c8de846..28987232140 100644 --- a/src/mesa/main/blit.c +++ b/src/mesa/main/blit.c @@ -48,7 +48,7 @@ find_attachment(const struct gl_framebuffer *fb, const struct gl_renderbuffer *rb) { GLuint i; - for (i = 0; i < Elements(fb->Attachment); i++) { + for (i = 0; i < ARRAY_SIZE(fb->Attachment); i++) { if (fb->Attachment[i].Renderbuffer == rb) return &fb->Attachment[i]; } |