diff options
author | Igor Oliveira <itrindade.oliveira@gmail.com> | 2010-05-30 09:55:46 -0400 |
---|---|---|
committer | Igor Oliveira <igor.oliveira@openbossa.org> | 2010-05-30 09:55:46 -0400 |
commit | b8ab40647eaf2f74758df876f79509ad29ee7247 (patch) | |
tree | 1ecbe4bd4a1f4956c4269197b498d9684ed54b4e | |
parent | cc080a1e2731a42045709d789587070da944145c (diff) |
DRM/Gallium3D: Catch up with changes in APIs.
-rw-r--r-- | src/drm/cairo-drm-gallium-surface.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/drm/cairo-drm-gallium-surface.c b/src/drm/cairo-drm-gallium-surface.c index 76fbae64..24ead1fc 100644 --- a/src/drm/cairo-drm-gallium-surface.c +++ b/src/drm/cairo-drm-gallium-surface.c @@ -127,6 +127,7 @@ format_is_supported_destination (gallium_device_t *device, return device->screen->is_format_supported (device->screen, format, + PIPE_TEXTURE_2D, 0, PIPE_BIND_RENDER_TARGET, 0); @@ -139,6 +140,7 @@ format_is_supported_source (gallium_device_t *device, { return device->screen->is_format_supported (device->screen, format, + PIPE_TEXTURE_2D, 0, PIPE_BIND_SAMPLER_VIEW, 0); @@ -787,7 +789,7 @@ _cairo_drm_gallium_device_create (int fd, dev_t dev, int vendor_id, int chip_id) goto CLEANUP; } - device->screen = device->api->create_screen (device->api, fd, NULL); + device->screen = device->api->create_screen (device->api, fd); if (device->screen == NULL) { status = _cairo_error (CAIRO_STATUS_NO_MEMORY); goto CLEANUP_API; |