Skip to content
Permalink
Browse files

Android: Fixed misleading warning in log output (thanks, Sylvain!).

Fixes Bugzilla #3418.
  • Loading branch information
philippwiesemann committed Aug 30, 2016
1 parent cf28727 commit 9581d4a585f77f01b4fb1bf88ca55206afdfa14b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/android/SDL_android.c
@@ -144,7 +144,7 @@ JNIEXPORT void JNICALL SDL_Android_Init(JNIEnv* mEnv, jclass cls)
bHasNewData = SDL_FALSE;

if (!midGetNativeSurface ||
!midAudioOpen || !midAudioWriteShortBuffer || !midAudioWriteByteBuffer || !midAudioClose || !
!midAudioOpen || !midAudioWriteShortBuffer || !midAudioWriteByteBuffer || !midAudioClose ||
!midCaptureOpen || !midCaptureReadShortBuffer || !midCaptureReadByteBuffer || !midCaptureClose ||
!midPollInputDevices) {
__android_log_print(ANDROID_LOG_WARN, "SDL", "SDL: Couldn't locate Java callbacks, check that they're named and typed correctly");

0 comments on commit 9581d4a

Please sign in to comment.