diff --git a/api/x_opengl.C b/api/x_opengl.C index 42ca731de4..3ee15cc2e2 100644 --- a/api/x_opengl.C +++ b/api/x_opengl.C @@ -64,7 +64,7 @@ enum }; // possible longjmp-values to signal from where we jumped: // 1= exit caught by atexit, 2 = signal caught by handler -bool xwin_glut_is_initialized() { return glut_is_initialized; } +int xwin_glut_is_initialized() { return glut_is_initialized; } void app_debug_msg (char *fmt, ...); diff --git a/api/x_opengl.h b/api/x_opengl.h index 7235f3e7fe..06abd66990 100644 --- a/api/x_opengl.h +++ b/api/x_opengl.h @@ -5,7 +5,7 @@ extern "C" { #endif -extern bool xwin_glut_is_initialized(); +extern int xwin_glut_is_initialized(); #ifdef __cplusplus }