Hi folks,what do you think about this patch? It makes Mesa compile with TTM-api again.
Cheers, Johannes
>From 4915d2a7a385995ca6ce9cb58029121f6c8e18d3 Mon Sep 17 00:00:00 2001 From: Johannes Engel <[EMAIL PROTECTED]> Date: Mon, 11 Aug 2008 12:20:55 +0100 Subject: [PATCH 1/1] Replace drmBO (now undefined) by drm_buffer_object (+pointer) Signed-off-by: Johannes Engel <[EMAIL PROTECTED]> --- src/mesa/drivers/dri/common/dri_util.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/dri/common/dri_util.h b/src/mesa/drivers/dri/common/dri_util.h index f126d08..1b1cb57 100644 --- a/src/mesa/drivers/dri/common/dri_util.h +++ b/src/mesa/drivers/dri/common/dri_util.h @@ -525,7 +525,7 @@ struct __DRIscreenRec { * fields will not be valid or initializaed in that case. */ int enabled; #ifdef TTM_API - drmBO sareaBO; + struct drm_buffer_object *sareaBO; #endif void *sarea; __DRIEventBuffer *buffer; -- 1.5.4.5
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
-- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel