From e4921074c1902bbc9bfe7dc4ab5c4e7bc459f761 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Sun, 9 Feb 2014 06:24:21 -0700 Subject: [PATCH] Fix texture_setimage Was mapping the data without unmapping the data, causing the data to become locked --- libobs/graphics/graphics.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libobs/graphics/graphics.c b/libobs/graphics/graphics.c index ce5d76306..034200438 100644 --- a/libobs/graphics/graphics.c +++ b/libobs/graphics/graphics.c @@ -811,6 +811,8 @@ void texture_setimage(texture_t tex, const void *data, uint32_t linesize, (uint8_t*)data + (uint32_t)y * linesize, row_copy); } + + texture_unmap(tex); } void cubetexture_setimage(texture_t cubetex, uint32_t side, const void *data,