summaryrefslogtreecommitdiff
path: root/src/mesa/swrast
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@tungstengraphics.com>2008-07-02 20:08:27 +0200
committerRoland Scheidegger <sroland@tungstengraphics.com>2008-07-02 20:22:08 +0200
commit489fc4d10a57538de59a89e19ce752e4b7253d22 (patch)
treeacd00293c4e71f1e49da222dc840b4bbb2086f93 /src/mesa/swrast
parentcc31eecbcb90dabacabac3e6be7c01cfe3a7a2a6 (diff)
mesa: fix issues around multisample enable
multisample enable is enabled by default, however gl mandates multisample rendering rules only apply if there's also a multisampled buffer.
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r--src/mesa/swrast/s_points.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_points.c b/src/mesa/swrast/s_points.c
index c0f32e9c91..f4b3650210 100644
--- a/src/mesa/swrast/s_points.c
+++ b/src/mesa/swrast/s_points.c
@@ -250,7 +250,7 @@ smooth_point(GLcontext *ctx, const SWvertex *vert)
size = CLAMP(size, ctx->Const.MinPointSizeAA, ctx->Const.MaxPointSizeAA);
/* alpha attenuation / fade factor */
- if (ctx->Multisample.Enabled) {
+ if (ctx->Multisample._Enabled) {
if (vert->pointSize >= ctx->Point.Threshold) {
alphaAtten = 1.0F;
}