提交 e4921074 编写于 作者: J jp9000

Fix texture_setimage

Was mapping the data without unmapping the data, causing the data to
become locked
上级 6c92cf58
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册