mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 03:50:13 +01:00
rbug: s/Elements/ARRAY_SIZE/
Signed-off-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
7f641916bf
commit
8842be1132
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ rbug_draw_block_locked(struct rbug_context *rb_pipe, int flag)
|
|||
if (rb_pipe->draw_rule.surf == rb_pipe->curr.cbufs[k])
|
||||
block = TRUE;
|
||||
if (rb_pipe->draw_rule.texture) {
|
||||
for (sh = 0; sh < Elements(rb_pipe->curr.num_views); sh++) {
|
||||
for (sh = 0; sh < ARRAY_SIZE(rb_pipe->curr.num_views); sh++) {
|
||||
for (k = 0; k < rb_pipe->curr.num_views[sh]; k++) {
|
||||
if (rb_pipe->draw_rule.texture == rb_pipe->curr.texs[sh][k]) {
|
||||
block = TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue