mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-19 20:32:15 +02:00
and fixed one more little bug
This commit is contained in:
parent
f9c2aadf53
commit
7f59eebea5
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user