mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
Minor fixups
This commit is contained in:
parent
9fd2b0a698
commit
56edca9f62
2 changed files with 6 additions and 6 deletions
|
|
@ -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]; \
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue