summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915simple/i915_texture.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2009-07-01 01:16:56 +0200
committerJakob Bornecrantz <jakob@vmware.com>2009-07-01 01:20:04 +0200
commit64849d1236e33b3325e00167c97119af52990ad8 (patch)
tree86822bf884ba54a5f1f4bab6949a764442c54448 /src/gallium/drivers/i915simple/i915_texture.c
parent119eb4094256742013224afb7c5704b6254b6296 (diff)
drm/st: Remove drm_api struct from drivers
Remove the drm_api from the functions in the softpipe and i915simple drivers. Create wrapper functions in the backends instead.
Diffstat (limited to 'src/gallium/drivers/i915simple/i915_texture.c')
-rw-r--r--src/gallium/drivers/i915simple/i915_texture.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/i915simple/i915_texture.c b/src/gallium/drivers/i915simple/i915_texture.c
index 211ba09fda..ca8e87af8d 100644
--- a/src/gallium/drivers/i915simple/i915_texture.c
+++ b/src/gallium/drivers/i915simple/i915_texture.c
@@ -738,8 +738,7 @@ i915_init_screen_texture_functions(struct pipe_screen *screen)
screen->tex_surface_destroy = i915_tex_surface_destroy;
}
-boolean i915_get_texture_buffer( struct drm_api *api,
- struct pipe_texture *texture,
+boolean i915_get_texture_buffer( struct pipe_texture *texture,
struct pipe_buffer **buf,
unsigned *stride )
{