diff options
author | José Fonseca <[email protected]> | 2007-12-09 18:26:26 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2007-12-09 18:26:26 +0000 |
commit | f8f9580a2a1c89af1dc0e169b62440053d9d7e81 (patch) | |
tree | bcc578854902e63c48dc4fbeb7f42ebe2d97c167 /src/mesa/drivers/x11 | |
parent | de7e51ff9854605cd0bbbe5829d6d987ea0a5fca (diff) |
Adapt for winsys interface changes.
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r-- | src/mesa/drivers/x11/xm_winsys.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/drivers/x11/xm_winsys.c b/src/mesa/drivers/x11/xm_winsys.c index f863cdbc151..dafbe96a1ec 100644 --- a/src/mesa/drivers/x11/xm_winsys.c +++ b/src/mesa/drivers/x11/xm_winsys.c @@ -210,7 +210,10 @@ xm_get_name(struct pipe_winsys *pws) static struct pipe_buffer_handle * -xm_buffer_create(struct pipe_winsys *pws, unsigned alignment) +xm_buffer_create(struct pipe_winsys *pws, + unsigned alignment, + unsigned flags, + unsigned hint) { struct xm_buffer *buffer = CALLOC_STRUCT(xm_buffer); buffer->refcount = 1; @@ -258,7 +261,7 @@ xm_region_alloc(struct pipe_winsys *winsys, assert(region->pitch > 0); - region->buffer = winsys->buffer_create( winsys, alignment ) + region->buffer = winsys->buffer_create( winsys, alignment, 0, 0 ) ; /* NULL data --> just allocate the space */ |