mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 14:40:13 +01:00
i915: replace Elements() with ARRAY_SIZE()
Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
0a77ffcd5a
commit
b565771003
1 changed files with 1 additions and 1 deletions
|
|
@ -599,7 +599,7 @@ intel_validate_framebuffer(struct gl_context *ctx, struct gl_framebuffer *fb)
|
|||
}
|
||||
}
|
||||
|
||||
for (i = 0; i < Elements(fb->Attachment); i++) {
|
||||
for (i = 0; i < ARRAY_SIZE(fb->Attachment); i++) {
|
||||
struct gl_renderbuffer *rb;
|
||||
struct intel_renderbuffer *irb;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue