Added kindly note about single buffer mode.
authorAapo Tahkola <aet@rasterburn.org>
Thu, 10 Feb 2005 12:40:41 +0000 (12:40 +0000)
committerAapo Tahkola <aet@rasterburn.org>
Thu, 10 Feb 2005 12:40:41 +0000 (12:40 +0000)
src/mesa/drivers/dri/r300/r300_context.c

index 5b27c73..dda8a33 100644 (file)
@@ -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,