mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
mesa: init MaxSamples = 0 (no multisampling)
This commit is contained in:
parent
5ca24eaf56
commit
8fb8855b4d
1 changed files with 3 additions and 0 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue