godot/drivers
Rémi Verschelde b0b759e6da
SCons: Cleanup DEBUG, _DEBUG and NDEBUG defines
- `_DEBUG` is MSVC specific so it didn't make much sense to define for
  Android and iOS builds.
- iOS was the only platform to define `DEBUG`. We don't use it anywhere
  outside thirdparty code, which we usually don't intend to debug, so it
  seems better to be consistent with other platforms.
- Consistently define `NDEBUG` to disable assert behavior in both `release`
  and `release_debug` targets. This used to be set for `release` for all
  platforms, and `release_debug` for Android and iOS only.
- Due to the above, I removed the only use we made of `assert()` in Godot
  code, which was only implemented for Unix anyway, should have been
  `DEV_ENABLED`, and is in PoolAllocator which we don't actually use.
- The denoise and recast modules keep defining `NDEBUG` even for the `debug`
  target as we don't want OIDN and Embree asserting all over the place.

(cherry picked from commit 26e9145c26)
2022-12-12 14:49:21 +01:00
..
alsa Make audio thread control flags safe 2022-08-19 11:55:23 +02:00
alsamidi Fix MIDI input with ALSA. 2022-12-04 19:04:31 +08:00
coreaudio Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
coremidi Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
dummy Merge pull request #62408 from Razoric480/raz/fix-no-cache 2022-08-05 23:43:54 +02:00
gl_context SCons: Add explicit dependencies on thirdparty code in cloned env 2021-04-29 16:57:00 +02:00
gles2 Take FXAA samples from half-pixel coordinates to improve quality 2022-11-30 15:39:00 +01:00
gles3 Take FXAA samples from half-pixel coordinates to improve quality 2022-11-30 15:39:00 +01:00
gles_common Batching - fix uninitialized color read 2022-09-06 07:01:18 +01:00
png Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
pulseaudio Make audio thread control flags safe 2022-08-19 11:55:23 +02:00
unix SCons: Cleanup DEBUG, _DEBUG and NDEBUG defines 2022-12-12 14:49:21 +01:00
wasapi Make audio thread control flags safe 2022-08-19 11:55:23 +02:00
windows Fix DirAccessWindows::make_dir() choking on ".." 2022-11-30 15:06:28 +01:00
winmidi Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
xaudio2 Make audio thread control flags safe 2022-08-19 11:55:23 +02:00
register_driver_types.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
register_driver_types.h Code quality: Fix header guards consistency 2022-07-25 14:53:37 +02:00
SCsub Unified GLES2 / GLES3 Batching 2020-10-16 10:34:47 +01:00