remove the 3dfx CatchSignals stuff (the var was alwasy set)

This commit is contained in:
Brian Paul 2004-06-11 22:44:22 +00:00
parent beef59e73a
commit 8b33258d07
3 changed files with 5 additions and 5 deletions

View file

@ -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);

View file

@ -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 */

View file

@ -2378,9 +2378,6 @@ struct __GLcontextRec {
GLboolean ClampVertexColors;
/*@}*/
/** Should 3Dfx Glide driver catch signals? */
GLboolean CatchSignals;
/** \name For debugging/development only */
/*@{*/
GLboolean FirstTimeCurrent;