case GL_MAX_VARYING_FLOATS_ARB:
case GL_MAX_FRAGMENT_INPUT_COMPONENTS:
- case GL_MAX_VERTEX_OUTPUT_COMPONENTS:
v->value_int = ctx->Const.MaxVarying * 4;
break;
[ "MINOR_VERSION", "LOC_CUSTOM, TYPE_INT, 0, extra_gl30_es3" ],
# GL 3.0 / GLES3
- [ "MAX_VERTEX_OUTPUT_COMPONENTS", "LOC_CUSTOM, TYPE_INT, 0, extra_gl32_es3" ],
+ [ "MAX_VERTEX_OUTPUT_COMPONENTS", "CONTEXT_INT(Const.VertexProgram.MaxOutputComponents), extra_gl32_es3" ],
[ "MAX_FRAGMENT_INPUT_COMPONENTS", "LOC_CUSTOM, TYPE_INT, 0, extra_gl32_es3" ],
# GL_ARB_ES3_compatibility