(Android) Camera - android_camera_stop - free GL texture

This commit is contained in:
twinaphex 2013-11-18 03:56:22 +01:00
parent 104dafe53f
commit c4f389fdb4

View File

@ -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,