From 8c9a54e7bcfc80295ad77097910d35958dfd3644 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sat, 6 Jul 2013 00:46:38 -0700 Subject: i965: Delete intel_context entirely. This makes brw_context inherit directly from gl_context; that was the only thing left in intel_context. Signed-off-by: Kenneth Graunke Acked-by: Chris Forbes Acked-by: Paul Berry Acked-by: Anuj Phogat --- src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp') diff --git a/src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp b/src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp index 2603e72570f..6e8391b63cb 100644 --- a/src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp +++ b/src/mesa/drivers/dri/i965/test_vec4_register_coalesce.cpp @@ -35,7 +35,6 @@ class register_coalesce_test : public ::testing::Test { public: struct brw_context *brw; - struct intel_context *intel; struct gl_context *ctx; struct gl_shader_program *shader_prog; struct brw_vertex_program *vp; @@ -96,8 +95,7 @@ protected: void register_coalesce_test::SetUp() { brw = (struct brw_context *)calloc(1, sizeof(*brw)); - intel = &brw->intel; - ctx = &intel->ctx; + ctx = &brw->ctx; vp = ralloc(NULL, struct brw_vertex_program); -- cgit v1.2.3