dri3: Rename DRI3_MAX_BACK to DRI3_NUM_BACK
authorKeith Packard <keithp@keithp.com>
Sun, 24 Nov 2013 05:58:14 +0000 (21:58 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 21 Dec 2013 00:31:09 +0000 (16:31 -0800)
commit6b5111398110f9ae374723ad6225ada1a0e60fd2
tree3e2fad1fad0266b31cb9f2eb9c99cc80ddcd4053
parent547bcc4b571e303c562d99dde74b915e56da54c0
dri3: Rename DRI3_MAX_BACK to DRI3_NUM_BACK

It is the maximum number of back buffers, but the name is confusing and is
easily read as the maximum back buffer index. Chage to DRI3_NUM_BACK to make
the intended usage a bit clearer.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glx/dri3_glx.c
src/glx/dri3_priv.h