diff options
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_context.c')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_context.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_context.c b/src/mesa/drivers/dri/radeon/radeon_context.c index fa76b8966f8..f6d897379b6 100644 --- a/src/mesa/drivers/dri/radeon/radeon_context.c +++ b/src/mesa/drivers/dri/radeon/radeon_context.c @@ -51,6 +51,8 @@ #include "radeon_tcl.h" #include "radeon_vtxfmt.h" #include "radeon_tex.h" +#include "radeon_span.h" +#include "radeon_maos.h" #else #include "radeon_subset.h" #endif @@ -202,8 +204,10 @@ static void radeonInitDriverFuncs( GLcontext *ctx ) ctx->Driver.ResizeBuffers = ResizeBuffers; ctx->Driver.Error = NULL; ctx->Driver.DrawPixels = NULL; +#if !_HAVE_SWRAST ctx->Driver.Bitmap = radeonPointsBitmap; ctx->Driver.ReadPixels = radeonReadPixels; +#endif } @@ -366,8 +370,9 @@ radeonCreateContext( const __GLcontextModes *glVisual, #if _HAVE_SWTNL radeonInitSwtcl( ctx ); #endif +#if !_HAVE_FULL_GL radeonInitSelect( ctx ); - +#endif rmesa->do_irqs = (rmesa->radeonScreen->irq && !getenv("RADEON_NO_IRQS")); rmesa->irqsEmitted = 0; |