mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Increased GLSL compiler MaxDrawBuffers to 8.
This commit is contained in:
parent
0f1f324033
commit
e24ba6e1c0
1 changed files with 1 additions and 1 deletions
|
@ -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_FRAGMENT].MaxTextureImageUnits = 16;
|
||||||
ctx->Const.Program[MESA_SHADER_GEOMETRY].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.NewShader = _mesa_new_shader;
|
||||||
ctx->Driver.DeleteShader = DeleteShader;
|
ctx->Driver.DeleteShader = DeleteShader;
|
||||||
|
|
Loading…
Reference in a new issue