π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix upside-down panoramas on OpenGL ES
Neeraj Gupta05eb884e78f2
diff --git a/mobile/apps/photos/changes/fix-opengles-panoramas.md b/mobile/apps/photos/changes/fix-opengles-panoramas.mdnew file mode 100644index 0000000000..1260ee5fdb--- /dev/null+++ b/mobile/apps/photos/changes/fix-opengles-panoramas.md@@ -0,0 +1 @@+- Fixed panoramas appearing upside down on some Android devices.diff --git a/mobile/apps/photos/plugins/ente_panorama_viewer/shaders/equirectangular.frag b/mobile/apps/photos/plugins/ente_panorama_viewer/shaders/equirectangular.fragindex b0e6dee5c8..db7eb3e821 100644--- a/mobile/apps/photos/plugins/ente_panorama_viewer/shaders/equirectangular.frag+++ b/mobile/apps/photos/plugins/ente_panorama_viewer/shaders/equirectangular.frag@@ -71,9 +71,6 @@ void main() {}vec2 clamped_uv = clamp(texture_uv, vec2(0.00001), vec2(0.99999));-#if defined(IMPELLER_TARGET_OPENGLES) && !defined(IMPELLER_OPENGLES_UNFLIPPED_DEPRECATED)- clamped_uv.y = 1.0 - clamped_uv.y;-#endifvec4 sharp_color = texture(u_texture, clamped_uv);vec2 crop_size = u_crop.zw - u_crop.xy;bool full_sphere = crop_size.x > 0.99999 && crop_size.y > 0.99999;