mirror of
https://github.com/libretro/RetroArch
synced 2025-02-16 03:40:12 +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;
|
||||
|
||||
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user