Commit 21481aca authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

wined3d: Always set GL_PIXEL_UNPACK_BUFFER binding in…

wined3d: Always set GL_PIXEL_UNPACK_BUFFER binding in wined3d_texture_gl_allocate_mutable_storage(). Signed-off-by: 's avatarZebediah Figura <zfigura@codeweavers.com> Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 84794b40
......@@ -930,6 +930,9 @@ static void wined3d_texture_gl_allocate_mutable_storage(struct wined3d_texture_g
else
layer_count = texture_gl->t.layer_count;
GL_EXTCALL(glBindBuffer(GL_PIXEL_UNPACK_BUFFER, 0));
checkGLcall("glBindBuffer");
for (layer = 0; layer < layer_count; ++layer)
{
target = wined3d_texture_gl_get_sub_resource_target(texture_gl, layer * level_count);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment