Changeset 5267 for anuga_work/development/anugavis/src/error.c
- Timestamp:
- May 2, 2008, 12:13:55 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/development/anugavis/src/error.c
r5260 r5267 1 #ifdef HAVE_CONFIG_H 2 # include "config.h" 3 #endif 4 5 #ifdef HAVE_GL_GLU_H 6 # include <GL/glu.h> 7 #elif HAVE_OPENGL_GLU_H 8 # include <OpenGL/glu.h> 9 #endif 1 10 #include <stdarg.h> 2 11 #include <netcdf.h> … … 4 13 #include "error.h" 5 14 6 #define MAX_ERROR_LEN 10015 #define MAX_ERROR_LEN 200 7 16 8 17 static char error[MAX_ERROR_LEN]; … … 27 36 AnugaVis_SetError("NetCDF Error: %s", nc_strerror(ncerr)); 28 37 } 38 39 void AnugaVis_OpenGLError(GLenum errorCode){ 40 AnugaVis_SetError("OpenGL Error: %s", gluErrorString(errorCode)); 41 }
Note: See TracChangeset
for help on using the changeset viewer.