Commit 47c87ada authored by Marek Olšák's avatar Marek Olšák

r300g: fix transfers for textures created from winsys handles

parent 5f2701fd
......@@ -938,6 +938,7 @@ r300_texture_from_handle(struct pipe_screen* screen,
}
tex->b.b = *base;
tex->b.vtbl = &r300_texture_vtbl;
pipe_reference_init(&tex->b.b.reference, 1);
tex->b.b.screen = screen;
......
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