aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/nouveau/nv10_swtcl.c
diff options
context:
space:
mode:
authorJeremy Kolb <[email protected]>2006-04-17 00:08:03 +0000
committerJeremy Kolb <[email protected]>2006-04-17 00:08:03 +0000
commitddf936193a574ce7efd387b0e3bbec51998736f8 (patch)
tree1c21b895be01a843a82d01ac19ade2a7280c260d /src/mesa/drivers/dri/nouveau/nv10_swtcl.c
parenta7d88857680d3d4d2a0788f18c49149dd2118b6f (diff)
Changed invalid context fields to valid ones.
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nv10_swtcl.c')
-rw-r--r--src/mesa/drivers/dri/nouveau/nv10_swtcl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nv10_swtcl.c b/src/mesa/drivers/dri/nouveau/nv10_swtcl.c
index 9a1748f48ac..d825de65598 100644
--- a/src/mesa/drivers/dri/nouveau/nv10_swtcl.c
+++ b/src/mesa/drivers/dri/nouveau/nv10_swtcl.c
@@ -739,8 +739,8 @@ static void nv10RenderStart(GLcontext *ctx)
{
struct nouveau_context *nmesa = NOUVEAU_CONTEXT(ctx);
- if (nmesa->newState) {
- nmesa->newRenderState |= nmesa->newState;
+ if (nmesa->new_state) {
+ nmesa->new_render_state |= nmesa->new_state;
}
if (nmesa->Fallback) {
@@ -748,10 +748,10 @@ static void nv10RenderStart(GLcontext *ctx)
return;
}
- if (nmesa->newRenderState) {
+ if (nmesa->new_render_state) {
nv10ChooseVertexState(ctx);
nv10ChooseRenderState(ctx);
- nmesa->newRenderState = 0;
+ nmesa->new_render_state = 0;
}
}
@@ -771,7 +771,7 @@ void nv10RasterPrimitive(GLcontext *ctx,
{
struct nouveau_context *nmesa = NOUVEAU_CONTEXT(ctx);
- assert (!nmesa->newState);
+ assert (!nmesa->new_state);
if (hwprim != nmesa->current_primitive)
{