You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/camera/android/SDL_camera_android.c
+26-1Lines changed: 26 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -149,6 +149,7 @@ struct SDL_PrivateCameraData
149
149
ACaptureRequest*request;
150
150
ACameraCaptureSession*session;
151
151
SDL_CameraSpecrequested_spec;
152
+
introtation; // degrees to rotate clockwise to get from camera's static orientation to device's native orientation. Apply this plus current phone rotation to get upright image!
0 commit comments