diff options
author | Christian König <[email protected]> | 2012-01-25 13:34:07 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2012-02-06 10:35:59 +0100 |
commit | 8abbdb8865890e1a39ebbbfae38422014f80072a (patch) | |
tree | 7312660115f73fa983a09fc6eab85e464b06a825 /src/gallium/drivers/nouveau/nouveau_video.c | |
parent | 70a7695b4d1bd3f609eb9f98dd6872f1a5b89762 (diff) |
vl: rename VL_MAX_PLANES to VL_NUM_COMPONENTS
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_video.c')
-rw-r--r-- | src/gallium/drivers/nouveau/nouveau_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_video.c b/src/gallium/drivers/nouveau/nouveau_video.c index cfbf857a969..06fbde46cc0 100644 --- a/src/gallium/drivers/nouveau/nouveau_video.c +++ b/src/gallium/drivers/nouveau/nouveau_video.c @@ -685,7 +685,7 @@ nouveau_video_buffer_sampler_view_components(struct pipe_video_buffer *buffer) unsigned nr_components = util_format_get_nr_components(buf->resources[i]->format); for (j = 0; j < nr_components; ++j, ++component) { - assert(component < VL_MAX_PLANES); + assert(component < VL_NUM_COMPONENTS); if (!buf->sampler_view_components[component]) { memset(&sv_templ, 0, sizeof(sv_templ)); |