summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/r300/r300_context.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.c b/src/mesa/drivers/dri/r300/r300_context.c
index 5b27c735e7..dda8a33934 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,