mirror of
https://github.com/defold/extension-camera
synced 2025-09-27 17:02:19 +02:00
Android support
This commit is contained in:
@@ -26,7 +26,9 @@ local function start_capture(self)
|
||||
end
|
||||
|
||||
camera.start_capture(type, quality, function(self, status)
|
||||
if status == camera.STATUS_STARTED then
|
||||
print("camera.start_capture", status)
|
||||
pprint(camera)
|
||||
if status == camera.CAMERA_STARTED then
|
||||
self.cameraframe = camera.get_frame()
|
||||
self.camerainfo = camera.get_info()
|
||||
self.cameratextureheader = {
|
||||
|
Reference in New Issue
Block a user