Added #define glcheck() for the case HAS_GLSAFE not defined

This commit is contained in:
Enrico Turri 2019-03-27 15:14:40 +01:00
parent 8459410e3c
commit d0046283fa

View File

@ -23,6 +23,7 @@ inline void glAssertRecentCall() { glAssertRecentCallImpl(__FILE__, __LINE__, __
#else #else
inline void glAssertRecentCall() { } inline void glAssertRecentCall() { }
#define glsafe(cmd) cmd #define glsafe(cmd) cmd
#define glcheck()
#endif #endif
namespace Slic3r { namespace Slic3r {