mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
remove the 3dfx CatchSignals stuff (the var was alwasy set)
This commit is contained in:
parent
beef59e73a
commit
8b33258d07
3 changed files with 5 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -2378,9 +2378,6 @@ struct __GLcontextRec {
|
|||
GLboolean ClampVertexColors;
|
||||
/*@}*/
|
||||
|
||||
/** Should 3Dfx Glide driver catch signals? */
|
||||
GLboolean CatchSignals;
|
||||
|
||||
/** \name For debugging/development only */
|
||||
/*@{*/
|
||||
GLboolean FirstTimeCurrent;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue