mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-25 12:20:17 +01:00
r300, amd: Oops, a couple more API changes.
Somehow I forgot to commit these.
This commit is contained in:
parent
ffc5e9a422
commit
a2416e3d7e
2 changed files with 2 additions and 2 deletions
|
|
@ -72,7 +72,7 @@ static struct pipe_texture*
|
|||
|
||||
r300_setup_miptree(tex);
|
||||
|
||||
tex->buffer = screen->buffer_create(screen->winsys, 32,
|
||||
tex->buffer = screen->buffer_create(screen, 32,
|
||||
PIPE_BUFFER_USAGE_PIXEL,
|
||||
tex->size);
|
||||
|
||||
|
|
|
|||
|
|
@ -231,7 +231,7 @@ struct pipe_surface *amd_surface_from_handle(struct amd_context *amd_context,
|
|||
|
||||
pt = pipe_screen->texture_blanket(pipe_screen, &tmpl, &pitch, pb);
|
||||
if (pt == NULL) {
|
||||
winsys_buffer_reference(pipe_winsys, &pb, NULL);
|
||||
pipe_buffer_reference(pipe_screen, &pb, NULL);
|
||||
}
|
||||
ps = pipe_screen->get_tex_surface(pipe_screen, pt, 0, 0, 0,
|
||||
PIPE_BUFFER_USAGE_GPU_WRITE);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue