summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAapo Tahkola <aet@rasterburn.org>2005-02-10 12:40:41 +0000
committerAapo Tahkola <aet@rasterburn.org>2005-02-10 12:40:41 +0000
commit1982a6683843c2de3ee132a41578c9652043ff6e (patch)
tree693acb4855ab81417747f96879b7f589b76da193 /src
parent3f9bae90c36424763e11b7ac9d0e31fc9acd5b2e (diff)
Added kindly note about single buffer mode.
Diffstat (limited to 'src')
-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,