mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-18 02:35:55 +08:00
#7293 - Do not put __FILE__ info in release mode
This commit is contained in:
parent
87c2e90a5d
commit
d43ddce078
@ -13,7 +13,10 @@
|
|||||||
#include <functional>
|
#include <functional>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
|
|
||||||
|
#ifndef NDEBUG
|
||||||
#define HAS_GLSAFE
|
#define HAS_GLSAFE
|
||||||
|
#endif // NDEBUG
|
||||||
|
|
||||||
#ifdef HAS_GLSAFE
|
#ifdef HAS_GLSAFE
|
||||||
extern void glAssertRecentCallImpl(const char *file_name, unsigned int line, const char *function_name);
|
extern void glAssertRecentCallImpl(const char *file_name, unsigned int line, const char *function_name);
|
||||||
inline void glAssertRecentCall() { glAssertRecentCallImpl(__FILE__, __LINE__, __FUNCTION__); }
|
inline void glAssertRecentCall() { glAssertRecentCallImpl(__FILE__, __LINE__, __FUNCTION__); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user