diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2012-08-17 17:14:47 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2012-08-29 15:09:37 -0700 |
commit | 04d6ffa06deff792aea49eccc4bceb1a91a1892e (patch) | |
tree | 49d4160a63512d31e2ee0c04fb57b4bcc4ad7ebe /src/mesa/main/vtxfmt.c | |
parent | 91107b4ccf7a47633fce98b9ccfba7f559098cb7 (diff) |
mesa: Disallow more deprecated functions in core context
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/mesa/main/vtxfmt.c')
-rw-r--r-- | src/mesa/main/vtxfmt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/vtxfmt.c b/src/mesa/main/vtxfmt.c index d8cd2dd7152..2b6e25ecdf6 100644 --- a/src/mesa/main/vtxfmt.c +++ b/src/mesa/main/vtxfmt.c @@ -48,9 +48,8 @@ static void install_vtxfmt(struct gl_context *ctx, struct _glapi_table *tab, const GLvertexformat *vfmt) { - _mesa_install_arrayelt_vtxfmt(tab, vfmt); - if (ctx->API != API_OPENGL_CORE) { + _mesa_install_arrayelt_vtxfmt(tab, vfmt); SET_Color3f(tab, vfmt->Color3f); SET_Color3fv(tab, vfmt->Color3fv); SET_Color4f(tab, vfmt->Color4f); |