Merge pull request #2295 from jpark37/volume-texture-leak

libobs-opengl: Fix volume texture leak
master
Jim 2020-01-04 02:16:27 -08:00 committed by GitHub
commit f0c540dc8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 6 deletions

View File

@ -1407,12 +1407,6 @@ void gs_swapchain_destroy(gs_swapchain_t *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)
{
/* TODO */

View File

@ -179,3 +179,8 @@ fail:
blog(LOG_ERROR, "device_voltexture_create (GL) failed");
return NULL;
}
void gs_voltexture_destroy(gs_texture_t *voltex)
{
gs_texture_destroy(voltex);
}