Fixed small bug in mouse input, when mouse button bound to HW key

This commit is contained in:
pelya
2012-10-01 18:21:02 +03:00
parent ac96d94173
commit 2be753832e

View File

@@ -529,6 +529,7 @@ JAVA_EXPORT_NAME(DemoGLSurfaceView_nativeMotionEvent) ( JNIEnv* env, jobject t
}
else
{
if( leftClickMethod != LEFT_CLICK_WITH_KEY )
SDL_ANDROID_MainThreadPushMouseButton( SDL_RELEASED, SDL_BUTTON_LEFT );
}