diff options
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index f5e6d9c605c..3caaf5f4101 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -622,11 +622,9 @@ _mesa_init_constants(struct gl_context *ctx) ctx->Const.MaxRenderbufferSize = MAX_RENDERBUFFER_SIZE; #endif -#if FEATURE_ARB_vertex_shader ctx->Const.MaxVertexTextureImageUnits = MAX_VERTEX_TEXTURE_IMAGE_UNITS; ctx->Const.MaxCombinedTextureImageUnits = MAX_COMBINED_TEXTURE_IMAGE_UNITS; ctx->Const.MaxVarying = MAX_VARYING; -#endif #if FEATURE_ARB_geometry_shader4 ctx->Const.MaxGeometryTextureImageUnits = MAX_GEOMETRY_TEXTURE_IMAGE_UNITS; ctx->Const.MaxVertexVaryingComponents = MAX_VERTEX_VARYING_COMPONENTS; |