From: Brian Paul Date: Tue, 20 Jan 2009 22:29:08 +0000 (-0700) Subject: mesa: init MaxSamples = 0 (no multisampling) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8fb8855b4d495303aabd11a4475cba3723b14bb2;p=mesa.git mesa: init MaxSamples = 0 (no multisampling) --- 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));