From 6125cbe983b267846afb8f1e487d378bdf7a189c Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sat, 25 Dec 2010 14:49:17 +0100 Subject: 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). --- src/gallium/drivers/r300/r300_screen_buffer.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/gallium/drivers/r300/r300_screen_buffer.h') diff --git a/src/gallium/drivers/r300/r300_screen_buffer.h b/src/gallium/drivers/r300/r300_screen_buffer.h index fb0033c0f5..70ffcf506c 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. */ -- cgit v1.2.3