From 780c4e057bbd940242874ac193dfec8738efb987 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 22 Mar 2000 23:20:12 +0000 Subject: added code to die on FP exceptions if DEBEG env var set to FP --- src/mesa/main/context.c | 4 ++-- src/mesa/main/glheader.h | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'src/mesa') diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index cd6bf13f55e..493a88689dc 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -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(); diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h index 6a6eeab0237..908ffe9b3c8 100644 --- a/src/mesa/main/glheader.h +++ b/src/mesa/main/glheader.h @@ -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 #include #include +#if defined(__linux__) && defined(__i386__) +#include +#endif #endif #include -- cgit v1.2.3