mirror of
https://github.com/libretro/RetroArch
synced 2025-02-19 12:41:00 +00:00
(Android) Camera - android_camera_stop - free GL texture
This commit is contained in:
parent
104dafe53f
commit
c4f389fdb4
@ -128,6 +128,9 @@ static void android_camera_stop(void *data)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
CALL_VOID_METHOD(androidcamera->env, androidcamera->class, onCameraStop);
|
CALL_VOID_METHOD(androidcamera->env, androidcamera->class, onCameraStop);
|
||||||
|
|
||||||
|
if (androidcamera->tex)
|
||||||
|
glDeleteTextures(1, &androidcamera->tex);
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool android_camera_poll(void *data, retro_camera_frame_raw_framebuffer_t frame_raw_cb,
|
static bool android_camera_poll(void *data, retro_camera_frame_raw_framebuffer_t frame_raw_cb,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user