From 1982a6683843c2de3ee132a41578c9652043ff6e Mon Sep 17 00:00:00 2001 From: Aapo Tahkola Date: Thu, 10 Feb 2005 12:40:41 +0000 Subject: [PATCH] Added kindly note about single buffer mode. --- src/mesa/drivers/dri/r300/r300_context.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mesa/drivers/dri/r300/r300_context.c b/src/mesa/drivers/dri/r300/r300_context.c index 5b27c735e76..dda8a339347 100644 --- a/src/mesa/drivers/dri/r300/r300_context.c +++ b/src/mesa/drivers/dri/r300/r300_context.c @@ -217,6 +217,10 @@ GLboolean r300CreateContext(const __GLcontextModes * glVisual, */ ctx = r300->radeon.glCtx; + if(ctx->Visual.doubleBufferMode == 0){ + fprintf(stderr, "Help me! Single buffer mode doesnt work yet.\n"); + exit(-1); + } ctx->Const.MaxTextureImageUnits = driQueryOptioni(&r300->radeon.optionCache, "texture_image_units"); ctx->Const.MaxTextureCoordUnits = driQueryOptioni(&r300->radeon.optionCache, -- 2.30.2