summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-01-20 15:29:08 -0700
committerBrian Paul <[email protected]>2009-01-22 15:19:22 -0700
commit8fb8855b4d495303aabd11a4475cba3723b14bb2 (patch)
tree520a11ec3cd37a47fa4852e4a8280c85f6d5f1df /src/mesa
parent5ca24eaf563e55269b3255e12e23a2a87dd47009 (diff)
mesa: init MaxSamples = 0 (no multisampling)
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/context.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 98c23bbd3a5..7d616b2325e 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -932,6 +932,9 @@ _mesa_init_constants(GLcontext *ctx)
ctx->Const.MaxVarying = MAX_VARYING;
#endif
+ /* GL_ARB_framebuffer_object */
+ ctx->Const.MaxSamples = 0;
+
/* sanity checks */
ASSERT(ctx->Const.MaxTextureUnits == MIN2(ctx->Const.MaxTextureImageUnits,
ctx->Const.MaxTextureCoordUnits));