summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/savage/savagestate.h
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2004-02-29 20:42:22 +0000
committerFelix Kuehling <[email protected]>2004-02-29 20:42:22 +0000
commitc6338e60ffac532a4e10013d5720597a431cbc34 (patch)
treedc8560f5101a686f16c0e1a8c9644de56e8dab58 /src/mesa/drivers/dri/savage/savagestate.h
parent4923e1926ad7b7eb7de017eda8e7db64d357e5c8 (diff)
Reorganized hardware state data structures and state emission. Don't track
which registers changed in all the functions that change the state. Instead check which registers changed in the end when the hardware state is updated. Tried to avoid cosmetic (whitespace) changes in this commit.
Diffstat (limited to 'src/mesa/drivers/dri/savage/savagestate.h')
-rw-r--r--src/mesa/drivers/dri/savage/savagestate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/savage/savagestate.h b/src/mesa/drivers/dri/savage/savagestate.h
index cc3038904d0..2cbdb81de58 100644
--- a/src/mesa/drivers/dri/savage/savagestate.h
+++ b/src/mesa/drivers/dri/savage/savagestate.h
@@ -33,9 +33,9 @@ extern void savageDDInitState( savageContextPtr imesa );
extern void savageDDInitStateFuncs( GLcontext *ctx );
extern void savageDDRenderStart(GLcontext *ctx);
extern void savageDDRenderEnd(GLcontext *ctx);
-extern void savageDDScissor( GLcontext *ctx, GLint x, GLint y,GLsizei w, GLsizei h );
/*frank 2001/11/13 add macro for sarea state copy*/
+#if 0
#define SAVAGE_STATE_COPY(ctx) { \
ctx->sarea->setup[0]=ctx->Registers.DrawLocalCtrl.ui; \
ctx->sarea->setup[1]=ctx->Registers.TexPalAddr.ui; \
@@ -67,3 +67,4 @@ ctx->sarea->setup[26]=ctx->Registers.DestTexWatermarks.ui; \
ctx->sarea->setup[27]=ctx->Registers.TexBlendColor.ui; \
}
#endif
+#endif