summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/vtxfmt.c
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2018-06-20 13:05:05 +1000
committerTimothy Arceri <[email protected]>2018-06-30 08:38:33 +1000
commitddb351f7fe056589b349233edd6d5f9cd2295ec7 (patch)
tree89a6d719a5aae402cd5ef4b27e0d8522b85296f4 /src/mesa/main/vtxfmt.c
parentc283b413c1067644001f99e9f8a26a48063968f3 (diff)
mesa: enable ARB_vertex_attrib_64bit in compat profile
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/vtxfmt.c')
-rw-r--r--src/mesa/main/vtxfmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/vtxfmt.c b/src/mesa/main/vtxfmt.c
index 61629a40fda..3e96c7d2fba 100644
--- a/src/mesa/main/vtxfmt.c
+++ b/src/mesa/main/vtxfmt.c
@@ -211,7 +211,7 @@ install_vtxfmt(struct gl_context *ctx, struct _glapi_table *tab,
SET_VertexAttribL1ui64vARB(tab, vfmt->VertexAttribL1ui64vARB);
}
- if (ctx->API == API_OPENGL_CORE) {
+ if (_mesa_is_desktop_gl(ctx)) {
/* GL_ARB_vertex_attrib_64bit */
SET_VertexAttribL1d(tab, vfmt->VertexAttribL1d);
SET_VertexAttribL2d(tab, vfmt->VertexAttribL2d);