diff options
author | Jakob Bornecrantz <jakob@vmware.com> | 2009-06-30 11:49:43 +0200 |
---|---|---|
committer | Jakob Bornecrantz <jakob@vmware.com> | 2009-06-30 12:20:39 +0200 |
commit | 303cbb45b558a2b94e6922252cf57d115ba60b82 (patch) | |
tree | d56f9e58b8a3944ed7885bc1a72b1f786c98338e /src/gallium/drivers/i915simple/i915_winsys.h | |
parent | efe9faf0612778db2423a4f8835b318b95d9efd7 (diff) |
drm/st: Return drm_api struct from a function
Diffstat (limited to 'src/gallium/drivers/i915simple/i915_winsys.h')
-rw-r--r-- | src/gallium/drivers/i915simple/i915_winsys.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915simple/i915_winsys.h b/src/gallium/drivers/i915simple/i915_winsys.h index ff5b34f193..58599daa80 100644 --- a/src/gallium/drivers/i915simple/i915_winsys.h +++ b/src/gallium/drivers/i915simple/i915_winsys.h @@ -61,6 +61,7 @@ struct pipe_buffer; struct pipe_fence_handle; struct pipe_winsys; struct pipe_screen; +struct drm_api; /** @@ -132,7 +133,8 @@ struct pipe_context *i915_create_context( struct pipe_screen *screen, * * This is needed for example kms. */ -boolean i915_get_texture_buffer( struct pipe_texture *texture, +boolean i915_get_texture_buffer( struct drm_api *api, + struct pipe_texture *texture, struct pipe_buffer **buf, unsigned *stride ); |