aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r600/r700_vertprog.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2009-05-29 15:37:04 -0400
committerAlex Deucher <[email protected]>2009-05-29 15:37:04 -0400
commitd8694cd3f69dfc40509544293aa35f297571e878 (patch)
treecdeb66b7b68201a6ff71fd09c5bd69298afad933 /src/mesa/drivers/dri/r600/r700_vertprog.c
parentcb393772530fca46ba699cf33cb213fb28713213 (diff)
get rid of chip_object struct
Diffstat (limited to 'src/mesa/drivers/dri/r600/r700_vertprog.c')
-rw-r--r--src/mesa/drivers/dri/r600/r700_vertprog.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_vertprog.c b/src/mesa/drivers/dri/r600/r700_vertprog.c
index 2861918c423..a827de197be 100644
--- a/src/mesa/drivers/dri/r600/r700_vertprog.c
+++ b/src/mesa/drivers/dri/r600/r700_vertprog.c
@@ -41,7 +41,6 @@
#include "r600_context.h"
#include "r600_cmdbuf.h"
-#include "r700_chip.h"
#include "r700_debug.h"
#include "r700_vertprog.h"
@@ -339,7 +338,7 @@ GLboolean r700SetupVertexProgram(GLcontext * ctx)
BATCH_LOCALS(&context->radeon);
- R700_CHIP_CONTEXT *r700 = (R700_CHIP_CONTEXT*)(context->chipobj.pvChipObj);
+ R700_CHIP_CONTEXT *r700 = (R700_CHIP_CONTEXT*)(&context->hw);
struct r700_vertex_program *vp
= (struct r700_vertex_program *)ctx->VertexProgram._Current;