summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r600/r600_context.c
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-05-29 15:37:04 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-05-29 15:37:04 -0400
commitd8694cd3f69dfc40509544293aa35f297571e878 (patch)
treecdeb66b7b68201a6ff71fd09c5bd69298afad933 /src/mesa/drivers/dri/r600/r600_context.c
parentcb393772530fca46ba699cf33cb213fb28713213 (diff)
get rid of chip_object struct
Diffstat (limited to 'src/mesa/drivers/dri/r600/r600_context.c')
-rw-r--r--src/mesa/drivers/dri/r600/r600_context.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/r600/r600_context.c b/src/mesa/drivers/dri/r600/r600_context.c
index c54dae0c53..526d02ed57 100644
--- a/src/mesa/drivers/dri/r600/r600_context.c
+++ b/src/mesa/drivers/dri/r600/r600_context.c
@@ -63,7 +63,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "r600_emit.h"
#include "radeon_bocs_wrapper.h"
-#include "r700_chip.h"
#include "r700_state.h"
#include "r700_ioctl.h"
@@ -369,9 +368,6 @@ GLboolean r600CreateContext(const __GLcontextModes * glVisual,
_mesa_enable_extension(ctx, "GL_EXT_texture_compression_s3tc");
}
- r600->disable_lowimpact_fallback =
- driQueryOptionb(&r600->radeon.optionCache,
- "disable_lowimpact_fallback");
radeon_fbo_init(&r600->radeon);
radeonInitSpanFuncs( ctx );
@@ -410,7 +406,7 @@ r600DestroyContext (__DRIcontextPrivate * driContextPriv)
context_t *context = ctx ? R700_CONTEXT(ctx) : NULL;
if (context)
- (context->chipobj.DestroyChipObj)(context->chipobj.pvChipObj);
+ FREE(context->hw.pStateList);
}