summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915tex/intel_regions.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-05-17 15:28:01 -0700
committerEric Anholt <eric@anholt.net>2007-05-17 15:28:01 -0700
commitcfc21190af1038f204d38ab4764a9c731b0323a5 (patch)
tree870a805778fa00a941c080217be4bb9fbbdd4b1b /src/mesa/drivers/dri/i915tex/intel_regions.h
parent7b971a50088caeeb2d66d99dbf6bef580a01c5d9 (diff)
Convert i915tex to the new interface and make it compile.
Diffstat (limited to 'src/mesa/drivers/dri/i915tex/intel_regions.h')
-rw-r--r--src/mesa/drivers/dri/i915tex/intel_regions.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i915tex/intel_regions.h b/src/mesa/drivers/dri/i915tex/intel_regions.h
index d938c107a4..9623cf7bd5 100644
--- a/src/mesa/drivers/dri/i915tex/intel_regions.h
+++ b/src/mesa/drivers/dri/i915tex/intel_regions.h
@@ -44,7 +44,7 @@ struct intel_buffer_object;
*/
struct intel_region
{
- struct _DriBufferObject *buffer; /**< buffer manager's buffer ID */
+ dri_bo *buffer; /**< buffer manager's buffer */
GLuint refcount; /**< Reference count for region */
GLuint cpp; /**< bytes per pixel */
GLuint pitch; /**< in pixels */
@@ -134,8 +134,8 @@ void intel_region_release_pbo(intelScreenPrivate *intelScreen,
void intel_region_cow(intelScreenPrivate *intelScreen,
struct intel_region *region);
-struct _DriBufferObject *intel_region_buffer(intelScreenPrivate *intelScreen,
- struct intel_region *region,
- GLuint flag);
+dri_bo *intel_region_buffer(intelScreenPrivate *intelScreen,
+ struct intel_region *region,
+ GLuint flag);
#endif