diff options
author | Brian Paul <[email protected]> | 2001-05-29 15:23:48 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-05-29 15:23:48 +0000 |
commit | 736fcbec4732830e7976fb5eb309b13e03be132c (patch) | |
tree | 746d1eb07d2e140c2a6d7964767403f131e86080 /src/mesa/main/context.c | |
parent | 5ff1c613ea25be455eda9037a4955d47669a8c79 (diff) |
infrastructure for GL_ARB_multisample
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 10 |
1 files changed, 9 insertions, 1 deletions
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; |