mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-07-15 05:30:30 +00:00
Re-add SDL_assert() with non boolean ptr syntax (#8531)
This commit is contained in:
@@ -41,8 +41,8 @@ static int ANDROIDAUDIO_OpenDevice(_THIS, const char *devname)
|
||||
SDL_AudioFormat test_format;
|
||||
SDL_bool iscapture = this->iscapture;
|
||||
|
||||
SDL_assert((!captureDevice) || !iscapture);
|
||||
SDL_assert((!audioDevice) || iscapture);
|
||||
SDL_assert((captureDevice == NULL) || !iscapture);
|
||||
SDL_assert((audioDevice == NULL) || iscapture);
|
||||
|
||||
if (iscapture) {
|
||||
captureDevice = this;
|
||||
|
||||
Reference in New Issue
Block a user