intel_winsys works again.
if (i915->flags.is_i945 ? i945_miptree_layout(pipe, tex) :
i915_miptree_layout(pipe, tex)) {
- tex->buffer = pipe->winsys->buffer_create(pipe->winsys,
- PIPE_SURFACE_FLAG_TEXTURE,
- 0, 0);
+ tex->buffer = pipe->winsys->buffer_create(pipe->winsys, 64, 0, 0);
if (tex->buffer)
pipe->winsys->buffer_data(pipe->winsys, tex->buffer,
sizeof(struct softpipe_texture) - sizeof(struct pipe_texture));
if (softpipe_mipmap_tree_layout(pipe, spt)) {
- spt->buffer = pipe->winsys->buffer_create(pipe->winsys,
- 32,
- PIPE_SURFACE_FLAG_TEXTURE,
- 0);
+ spt->buffer = pipe->winsys->buffer_create(pipe->winsys, 32, 0, 0);
if (spt->buffer) {
pipe->winsys->buffer_data(pipe->winsys, spt->buffer,
pipe->winsys->buffer_reference(pipe->winsys, &strb->surface->buffer,
NULL);
- strb->surface->buffer = pipe->winsys->buffer_create(pipe->winsys, 32, flags, 0);
+ strb->surface->buffer = pipe->winsys->buffer_create(pipe->winsys, 32, 0, 0);
if (!strb->surface->buffer)
return GL_FALSE; /* out of memory, try s/w buffer? */