From 7f59eebea5cf458356180d259a24fcd0fc24f1b1 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Sat, 5 Oct 2013 09:42:04 -0700 Subject: [PATCH] and fixed one more little bug --- libobs-opengl/gl-texturecube.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libobs-opengl/gl-texturecube.c b/libobs-opengl/gl-texturecube.c index 7df1c3b6f..9f0c776e3 100644 --- a/libobs-opengl/gl-texturecube.c +++ b/libobs-opengl/gl-texturecube.c @@ -72,7 +72,7 @@ texture_t device_create_cubetexture(device_t device, uint32_t size, return (texture_t)tex; fail: - texture_destroy((texture_t)tex); + cubetexture_destroy((texture_t)tex); blog(LOG_ERROR, "device_create_cubetexture (GL) failed"); return NULL; } -- GitLab