mirror of
https://github.com/defold/extension-camera
synced 2025-09-27 17:02:19 +02:00
Improved on the performance on Android
Rotated/flipped the image to match the subject
This commit is contained in:
@@ -14,7 +14,7 @@ function init(self)
|
||||
|
||||
local quality = camera.CAPTURE_QUALITY_HIGH
|
||||
local type = camera.CAMERA_TYPE_FRONT
|
||||
if sysinfo.system_name == 'iPhone OS' then
|
||||
if sysinfo.system_name == 'iPhone OS' or sysinfo.system_name == 'Android' then
|
||||
type = camera.CAMERA_TYPE_BACK
|
||||
quality = camera.CAPTURE_QUALITY_MEDIUM
|
||||
end
|
||||
|
Reference in New Issue
Block a user