diff options
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/glide/fxapi.c | 2 | ||||
-rw-r--r-- | src/mesa/main/context.c | 5 | ||||
-rw-r--r-- | src/mesa/main/mtypes.h | 3 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/drivers/glide/fxapi.c b/src/mesa/drivers/glide/fxapi.c index 47aa0464eb6..016d968be05 100644 --- a/src/mesa/drivers/glide/fxapi.c +++ b/src/mesa/drivers/glide/fxapi.c @@ -700,7 +700,7 @@ fxMesaCreateContext(GLuint win, /* install signal handlers */ #if defined(__linux__) /* Only install if environment var. is not set. */ - if (fxMesa->glCtx->CatchSignals && !getenv("MESA_FX_NO_SIGNALS")) { + if (!getenv("MESA_FX_NO_SIGNALS")) { signal(SIGINT, cleangraphics_handler); signal(SIGHUP, cleangraphics_handler); signal(SIGPIPE, cleangraphics_handler); diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index e3cfd5c3f94..1a185bc9c4e 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -588,6 +588,10 @@ _mesa_destroy_visual( GLvisual *vis ) * A GLframebuffer is a structure which encapsulates the depth, stencil and * accum buffers and related parameters. * + * Note that the actual depth/stencil/accum/etc buffers are not allocated + * at this time. It's up to the device driver and/or swrast module to + * allocate them as needed. + * * \param visual a GLvisual pointer (we copy the struct contents) * \param softwareDepth create/use a software depth buffer? * \param softwareStencil create/use a software stencil buffer? @@ -1137,7 +1141,6 @@ init_attrib_groups( GLcontext *ctx ) /* Miscellaneous */ ctx->NewState = _NEW_ALL; ctx->ErrorValue = (GLenum) GL_NO_ERROR; - ctx->CatchSignals = GL_TRUE; ctx->_Facing = 0; #if CHAN_TYPE == GL_FLOAT ctx->ClampFragmentColors = GL_FALSE; /* XXX temporary */ diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index a0b254a725f..98f599083d7 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2378,9 +2378,6 @@ struct __GLcontextRec { GLboolean ClampVertexColors; /*@}*/ - /** Should 3Dfx Glide driver catch signals? */ - GLboolean CatchSignals; - /** \name For debugging/development only */ /*@{*/ GLboolean FirstTimeCurrent; |