mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-07 03:53:38 +00:00
libobs-opengl: Fix volume texture leak
This commit is contained in:
parent
61940e50e3
commit
882687934c
|
@ -1407,12 +1407,6 @@ void gs_swapchain_destroy(gs_swapchain_t *swapchain)
|
||||||
bfree(swapchain);
|
bfree(swapchain);
|
||||||
}
|
}
|
||||||
|
|
||||||
void gs_voltexture_destroy(gs_texture_t *voltex)
|
|
||||||
{
|
|
||||||
/* TODO */
|
|
||||||
UNUSED_PARAMETER(voltex);
|
|
||||||
}
|
|
||||||
|
|
||||||
uint32_t gs_voltexture_get_width(const gs_texture_t *voltex)
|
uint32_t gs_voltexture_get_width(const gs_texture_t *voltex)
|
||||||
{
|
{
|
||||||
/* TODO */
|
/* TODO */
|
||||||
|
|
|
@ -179,3 +179,8 @@ fail:
|
||||||
blog(LOG_ERROR, "device_voltexture_create (GL) failed");
|
blog(LOG_ERROR, "device_voltexture_create (GL) failed");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void gs_voltexture_destroy(gs_texture_t *voltex)
|
||||||
|
{
|
||||||
|
gs_texture_destroy(voltex);
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue