From dc8662435b11520c938451187cf11050d302f998 Mon Sep 17 00:00:00 2001 From: "glaznev@webrtc.org" Date: Wed, 5 Nov 2014 01:15:10 +0000 Subject: [PATCH] Fix android_clang build. BUG= R=kjellander@webrtc.org, tkchin@webrtc.org Review URL: https://webrtc-codereview.appspot.com/30879004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7630 4adac7df-926f-26a2-2b94-8c16560cd09d --- .../android/video_render_android_native_opengl2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webrtc/modules/video_render/android/video_render_android_native_opengl2.h b/webrtc/modules/video_render/android/video_render_android_native_opengl2.h index 66c53641d6..f5e5b57e54 100644 --- a/webrtc/modules/video_render/android/video_render_android_native_opengl2.h +++ b/webrtc/modules/video_render/android/video_render_android_native_opengl2.h @@ -41,7 +41,7 @@ class AndroidNativeOpenGl2Channel: public AndroidStream { virtual void DeliverFrame(JNIEnv* jniEnv); private: - static jint CreateOpenGLNativeStatic( + static jint JNICALL CreateOpenGLNativeStatic( JNIEnv * env, jobject, jlong context, @@ -49,7 +49,7 @@ class AndroidNativeOpenGl2Channel: public AndroidStream { jint height); jint CreateOpenGLNative(int width, int height); - static void DrawNativeStatic(JNIEnv * env,jobject, jlong context); + static void JNICALL DrawNativeStatic(JNIEnv * env,jobject, jlong context); void DrawNative(); uint32_t _id; CriticalSectionWrapper& _renderCritSect;