mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 21:08:11 +02:00
gallium: Pass PIPE_BUFFER_USAGE_PIXEL to buffer_data.
This commit is contained in:
parent
c04f417492
commit
b016f0adba
1 changed files with 1 additions and 1 deletions
|
|
@ -227,7 +227,7 @@ intel_i915_surface_alloc_storage(struct pipe_winsys *winsys,
|
|||
surf->buffer,
|
||||
surf->pitch * surf->cpp * height,
|
||||
NULL,
|
||||
0);
|
||||
PIPE_BUFFER_USAGE_PIXEL);
|
||||
if(ret) {
|
||||
winsys->buffer_reference(winsys, &surf->buffer, NULL);
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue