summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_texture.h
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2014-07-01 02:18:56 +0200
committerRoland Scheidegger <[email protected]>2014-07-02 01:55:59 +0200
commit7e1521f191afe30fcf02a25b68fbf89278f014d3 (patch)
treeb0ec042ddaf88c59cfaebef29ceac3a78f71ebba /src/gallium/drivers/llvmpipe/lp_texture.h
parentb4c3246e7b2e5d8c19bdb6f71efa3cc2b948b1ce (diff)
llvmpipe: get rid of linear_img struct
Just use a tex_data pointer directly - the description was no longer correct neither. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_texture.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_texture.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_texture.h b/src/gallium/drivers/llvmpipe/lp_texture.h
index e26d044421f..07319189338 100644
--- a/src/gallium/drivers/llvmpipe/lp_texture.h
+++ b/src/gallium/drivers/llvmpipe/lp_texture.h
@@ -49,13 +49,6 @@ struct llvmpipe_context;
struct sw_displaytarget;
-/** A 1D/2D/3D image, one mipmap level */
-struct llvmpipe_texture_image
-{
- void *data;
-};
-
-
/**
* llvmpipe subclass of pipe_resource. A texture, drawing surface,
* vertex buffer, const buffer, etc.
@@ -85,7 +78,7 @@ struct llvmpipe_resource
/**
* Malloc'ed data for regular textures, or a mapping to dt above.
*/
- struct llvmpipe_texture_image linear_img;
+ void *tex_data;
/**
* Data for non-texture resources.