Browse Source

added code to die on FP exceptions if DEBEG env var set to FP

tags/mesa_3_3
Brian Paul 26 years ago
parent
commit
780c4e057b
2 changed files with 6 additions and 3 deletions
  1. 2
    2
      src/mesa/main/context.c
  2. 4
    1
      src/mesa/main/glheader.h

+ 2
- 2
src/mesa/main/context.c View File

@@ -1,4 +1,4 @@
/* $Id: context.c,v 1.49 2000/03/19 23:35:42 brianp Exp $ */
/* $Id: context.c,v 1.50 2000/03/22 23:20:12 brianp Exp $ */

/*
* Mesa 3-D graphics library
@@ -459,7 +459,7 @@ static void one_time_init( void )
gl_init_clip();
gl_init_eval();
_mesa_init_fog();
gl_init_math();
_mesa_init_math();
gl_init_lists();
gl_init_shade();
gl_init_texture();

+ 4
- 1
src/mesa/main/glheader.h View File

@@ -1,4 +1,4 @@
/* $Id: glheader.h,v 1.6 2000/02/24 15:12:05 brianp Exp $ */
/* $Id: glheader.h,v 1.7 2000/03/22 23:20:12 brianp Exp $ */

/*
* Mesa 3-D graphics library
@@ -52,6 +52,9 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#if defined(__linux__) && defined(__i386__)
#include <fpu_control.h>
#endif
#endif
#include <float.h>


Loading…
Cancel
Save