Skip to content
Snippets Groups Projects
Commit 21481aca authored by Elizabeth Figura's avatar Elizabeth Figura Committed by Alexandre Julliard
Browse files

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: default avatarZebediah Figura <zfigura@codeweavers.com>
Signed-off-by: default avatarHenri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent 84794b40
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment