- Changes for new software rasterizer modules
- Remove support for choosing software fallbacks from core code - Remove partial fallback code from vbrender.c -- drivers are now expected to be able to find a triangle/quad function for every state, even if they have to use _swsetup_Triangle or _swsetup_Quad. - Marked derived variables in the GLcontext struct with a leading underscore '_'.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $Id: depth.c,v 1.22 2000/10/31 18:09:44 keithw Exp $ */
|
||||
/* $Id: depth.c,v 1.23 2000/11/05 18:40:57 keithw Exp $ */
|
||||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
@@ -78,7 +78,7 @@ _mesa_DepthFunc( GLenum func )
|
||||
if (ctx->Depth.Func != func) {
|
||||
ctx->Depth.Func = func;
|
||||
ctx->NewState |= _NEW_DEPTH;
|
||||
ctx->TriangleCaps &= ~DD_Z_NEVER;
|
||||
ctx->_TriangleCaps &= ~DD_Z_NEVER;
|
||||
if (ctx->Driver.DepthFunc) {
|
||||
(*ctx->Driver.DepthFunc)( ctx, func );
|
||||
}
|
||||
@@ -88,7 +88,7 @@ _mesa_DepthFunc( GLenum func )
|
||||
if (ctx->Depth.Func != func) {
|
||||
ctx->Depth.Func = func;
|
||||
ctx->NewState |= _NEW_DEPTH;
|
||||
ctx->TriangleCaps |= DD_Z_NEVER;
|
||||
ctx->_TriangleCaps |= DD_Z_NEVER;
|
||||
if (ctx->Driver.DepthFunc) {
|
||||
(*ctx->Driver.DepthFunc)( ctx, func );
|
||||
}
|
||||
|
Reference in New Issue
Block a user