Henri Verbeet : wined3d: Reference the bo in wined3d_texture_gl_upload_data().
Alexandre Julliard
julliard at winehq.org
Thu Dec 3 15:35:59 CST 2020
Module: wine
Branch: master
Commit: 17e51124f919e80485aab9572fbbca5622d219f8
URL: https://source.winehq.org/git/wine.git/?a=commit;h=17e51124f919e80485aab9572fbbca5622d219f8
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Thu Dec 3 19:05:55 2020 +0330
wined3d: Reference the bo in wined3d_texture_gl_upload_data().
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wined3d/texture.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/wined3d/texture.c b/dlls/wined3d/texture.c
index 1e410930a8b..1cf4f7eb5ca 100644
--- a/dlls/wined3d/texture.c
+++ b/dlls/wined3d/texture.c
@@ -2481,6 +2481,7 @@ static void wined3d_texture_gl_upload_data(struct wined3d_context *context,
if (bo.buffer_object)
{
GL_EXTCALL(glBindBuffer(GL_PIXEL_UNPACK_BUFFER, 0));
+ wined3d_context_gl_reference_bo(context_gl, (struct wined3d_bo_gl *)bo.buffer_object);
checkGLcall("glBindBuffer");
}
}
More information about the wine-cvs
mailing list