summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/i915/drm
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/i915/drm')
-rw-r--r--src/gallium/winsys/i915/drm/i915_drm_buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/winsys/i915/drm/i915_drm_buffer.c b/src/gallium/winsys/i915/drm/i915_drm_buffer.c
index 15ec4487457..ab1e12529e4 100644
--- a/src/gallium/winsys/i915/drm/i915_drm_buffer.c
+++ b/src/gallium/winsys/i915/drm/i915_drm_buffer.c
@@ -7,7 +7,7 @@
static struct i915_winsys_buffer *
i915_drm_buffer_create(struct i915_winsys *iws,
- unsigned size, unsigned alignment,
+ unsigned size,
enum i915_winsys_buffer_type type)
{
struct i915_drm_buffer *buf = CALLOC_STRUCT(i915_drm_buffer);
@@ -32,7 +32,7 @@ i915_drm_buffer_create(struct i915_winsys *iws,
name = "gallium3d_unknown";
}
- buf->bo = drm_intel_bo_alloc(idws->gem_manager, name, size, alignment);
+ buf->bo = drm_intel_bo_alloc(idws->gem_manager, name, size, 0);
if (!buf->bo)
goto err;