From 736fcbec4732830e7976fb5eb309b13e03be132c Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 29 May 2001 15:23:48 +0000 Subject: infrastructure for GL_ARB_multisample --- src/mesa/main/context.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/context.c') diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index d7cdf10b00a..4ff1941f130 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1,4 +1,4 @@ -/* $Id: context.c,v 1.138 2001/05/21 16:41:03 brianp Exp $ */ +/* $Id: context.c,v 1.139 2001/05/29 15:23:48 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -988,6 +988,14 @@ init_attrib_groups( GLcontext *ctx ) /* Display List group */ ctx->List.ListBase = 0; + /* Multisample */ + ctx->Multisample.Enabled = GL_FALSE; + ctx->Multisample.SampleAlphaToCoverage = GL_FALSE; + ctx->Multisample.SampleAlphaToOne = GL_FALSE; + ctx->Multisample.SampleCoverage = GL_FALSE; + ctx->Multisample.SampleCoverageValue = 1.0; + ctx->Multisample.SampleCoverageInvert = GL_FALSE; + /* Pixel group */ ctx->Pixel.RedBias = 0.0; ctx->Pixel.RedScale = 1.0; -- cgit v1.2.3