diff --git a/3rdparty/glsl-optimizer/src/glsl/glsl_optimizer.cpp b/3rdparty/glsl-optimizer/src/glsl/glsl_optimizer.cpp index 5f92c123..488dc7f7 100644 --- a/3rdparty/glsl-optimizer/src/glsl/glsl_optimizer.cpp +++ b/3rdparty/glsl-optimizer/src/glsl/glsl_optimizer.cpp @@ -64,7 +64,7 @@ initialize_mesa_context(struct gl_context *ctx, glslopt_target api) ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits = 16; ctx->Const.Program[MESA_SHADER_GEOMETRY].MaxTextureImageUnits = 16; - ctx->Const.MaxDrawBuffers = 2; + ctx->Const.MaxDrawBuffers = 8; ctx->Driver.NewShader = _mesa_new_shader; ctx->Driver.DeleteShader = DeleteShader;