remove the 3dfx CatchSignals stuff (the var was alwasy set)
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 11 Jun 2004 22:44:22 +0000 (22:44 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 11 Jun 2004 22:44:22 +0000 (22:44 +0000)
src/mesa/drivers/glide/fxapi.c
src/mesa/main/context.c
src/mesa/main/mtypes.h

index 47aa046..016d968 100644 (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);
index e3cfd5c..1a185bc 100644 (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 */
index a0b254a..98f5990 100644 (file)
@@ -2378,9 +2378,6 @@ struct __GLcontextRec {
    GLboolean ClampVertexColors;
    /*@}*/
 
-   /** Should 3Dfx Glide driver catch signals? */
-   GLboolean CatchSignals;
-
    /** \name For debugging/development only */
    /*@{*/
    GLboolean FirstTimeCurrent;