diff options
author | Jon Taylor <[email protected]> | 2000-03-27 04:31:15 +0000 |
---|---|---|
committer | Jon Taylor <[email protected]> | 2000-03-27 04:31:15 +0000 |
commit | 56edca9f62e64189381065375a0c5efb0149a493 (patch) | |
tree | 051a812b0ac86138b5a1d6515ff9a40a77144371 /src/mesa/drivers | |
parent | 9fd2b0a698163b397b0a17493e52b27273e51b63 (diff) |
Minor fixups
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/ggi/default/stubs.c | 10 | ||||
-rw-r--r-- | src/mesa/drivers/ggi/ggimesa.c | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/drivers/ggi/default/stubs.c b/src/mesa/drivers/ggi/default/stubs.c index 5c7a0ff5920..df9efb5c40c 100644 --- a/src/mesa/drivers/ggi/default/stubs.c +++ b/src/mesa/drivers/ggi/default/stubs.c @@ -325,9 +325,9 @@ void GGIupdate_state(GLcontext *ctx) void GGItriangle_flat(GLcontext *ctx,GLuint v0,GLuint v1,GLuint v2,GLuint pv) { -#define INTERP_Z 1 -#define INTERP_RGB 1 -#define INTERP_ALPHA 1 +//#define INTERP_Z 1 +//#define INTERP_RGB 1 +//#define INTERP_ALPHA 1 #define SETUP_CODE \ GLubyte r = VB->ColorPtr->data[pv][0]; \ @@ -343,10 +343,10 @@ void GGItriangle_flat(GLcontext *ctx,GLuint v0,GLuint v1,GLuint v2,GLuint pv) } -void GGItriangle_flat_depth(GLcontext *ctx,GLuint v0,GLuint v1, - GLuint v2,GLuint pv) +void GGItriangle_flat_depth(GLcontext *ctx, GLuint v0, GLuint v1, GLuint v2, GLuint pv) { #define INTERP_Z 1 +#define DEPTH_TYPE DEFAULT_SOFTWARE_DEPTH_TYPE #define SETUP_CODE \ GLubyte r = VB->ColorPtr->data[pv][0]; \ diff --git a/src/mesa/drivers/ggi/ggimesa.c b/src/mesa/drivers/ggi/ggimesa.c index 4b951c33323..cc8f0cc8f46 100644 --- a/src/mesa/drivers/ggi/ggimesa.c +++ b/src/mesa/drivers/ggi/ggimesa.c @@ -235,7 +235,7 @@ static int gl_ggiInitInfo(GGIMesaContext ctx, struct ggi_mesa_info *info) ggiGetMode(ctx->ggi_vis, &mode); - info->depth_bits = DEPTH_BITS; + info->depth_bits = DEFAULT_SOFTWARE_DEPTH_BITS; info->stencil_bits = STENCIL_BITS; info->accum_bits = ACCUM_BITS; |