X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_internal.h;h=8c8e1d2e8d51f7160dd643547b5e5011fb6511cf;hb=69f96533fcedaf91c2b6c53da6e1c20fb145b425;hp=013cae89917a90654ffaf4cf148c033e25289a5c;hpb=d67937396dc33c86017012859b2d9ed010fc6c88;p=freeglut diff --git a/src/freeglut_internal.h b/src/freeglut_internal.h index 013cae8..8c8e1d2 100644 --- a/src/freeglut_internal.h +++ b/src/freeglut_internal.h @@ -51,15 +51,6 @@ #endif #define FREEGLUT_MAX_MENUS 3 -#define FREEGLUT_DEBUG 1 - -#if FREEGLUT_DEBUG - #undef G_DISABLE_ASSERT - #undef G_DISABLE_CHECKS -#else - #define G_DISABLE_ASSERT - #define G_DISABLE_CHECKS -#endif /* * Somehow all Win32 include headers depend on this one: @@ -231,8 +222,7 @@ struct tagSFG_State GLboolean Initialised; /* freeglut has been initialised */ - GLboolean ForceDirectContext; /* Force direct rendering? */ - GLboolean TryDirectContext; /* What about giving a try to? */ + int DirectContext; /* Direct rendering state */ GLboolean ForceIconic; /* New top windows are iconified */ GLboolean UseCurrentContext; /* New windows share with current */