aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300/r300_context.c
diff options
context:
space:
mode:
authorAapo Tahkola <[email protected]>2005-02-10 12:40:41 +0000
committerAapo Tahkola <[email protected]>2005-02-10 12:40:41 +0000
commit1982a6683843c2de3ee132a41578c9652043ff6e (patch)
tree693acb4855ab81417747f96879b7f589b76da193 /src/mesa/drivers/dri/r300/r300_context.c
parent3f9bae90c36424763e11b7ac9d0e31fc9acd5b2e (diff)
Added kindly note about single buffer mode.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_context.c')
-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 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,