diff options
author | Marek Olšák <maraeo@gmail.com> | 2010-12-25 14:49:17 +0100 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2011-01-06 16:59:32 +0100 |
commit | 6125cbe983b267846afb8f1e487d378bdf7a189c (patch) | |
tree | 14965b274568a63b87f5d179d6736a84f1da0ddf /src/gallium/drivers/r300/r300_screen_buffer.h | |
parent | 31afa7616e3c11e9874f3297ac66ebdd50a67186 (diff) | |
download | external_mesa3d-6125cbe983b267846afb8f1e487d378bdf7a189c.zip external_mesa3d-6125cbe983b267846afb8f1e487d378bdf7a189c.tar.gz external_mesa3d-6125cbe983b267846afb8f1e487d378bdf7a189c.tar.bz2 |
r300g: remove the buffer range checking
It's no longer needed because the upload buffer remains mapped while the CS
is being filled (openarena, ut2004 and others that this code was for do not
use VBOs by default).
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen_buffer.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_screen_buffer.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_screen_buffer.h b/src/gallium/drivers/r300/r300_screen_buffer.h index fb0033c..70ffcf5 100644 --- a/src/gallium/drivers/r300/r300_screen_buffer.h +++ b/src/gallium/drivers/r300/r300_screen_buffer.h @@ -57,8 +57,6 @@ struct r300_buffer uint8_t *user_buffer; uint8_t *constant_buffer; - struct r300_buffer_range ranges[R300_BUFFER_MAX_RANGES]; - unsigned num_ranges; }; /* Functions. */ |