diff options
| -rw-r--r-- | sokol_app.h | 2 | ||||
| -rw-r--r-- | sokol_gfx.h | 7 | ||||
| -rw-r--r-- | sokol_log.h | 2 |
3 files changed, 3 insertions, 8 deletions
diff --git a/sokol_app.h b/sokol_app.h index 16ea4eeb..34deb46b 100644 --- a/sokol_app.h +++ b/sokol_app.h @@ -40,7 +40,7 @@ Optionally define the following to force debug checks and validations even in release mode: - SOKOL_DEBUG - by default this is defined if _DEBUG is defined + SOKOL_DEBUG - by default this is defined if NDEBUG is not defined If sokol_app.h is compiled as a DLL, define the following before including the declaration or implementation: diff --git a/sokol_gfx.h b/sokol_gfx.h index b521fe43..6edb4587 100644 --- a/sokol_gfx.h +++ b/sokol_gfx.h @@ -56,15 +56,10 @@ On Windows, SOKOL_DLL will define SOKOL_GFX_API_DECL as __declspec(dllexport) or __declspec(dllimport) as needed. - If you want to compile without deprecated structs and functions, - define: - - SOKOL_NO_DEPRECATED - Optionally define the following to force debug checks and validations even in release mode: - SOKOL_DEBUG - by default this is defined if _DEBUG is defined + SOKOL_DEBUG - by default this is defined if NDEBUG is not defined Link with the following system libraries (note that sokol_app.h has additional linker requirements): diff --git a/sokol_log.h b/sokol_log.h index 0eef3a98..081ea0de 100644 --- a/sokol_log.h +++ b/sokol_log.h @@ -25,7 +25,7 @@ Optionally define the following for verbose output: - SOKOL_DEBUG - by default this is defined if _DEBUG is defined + SOKOL_DEBUG - by default this is defined if NDEBUG is not defined OVERVIEW |