diff options
author | Timothy Arceri <[email protected]> | 2018-06-20 13:05:05 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-06-30 08:38:33 +1000 |
commit | ddb351f7fe056589b349233edd6d5f9cd2295ec7 (patch) | |
tree | 89a6d719a5aae402cd5ef4b27e0d8522b85296f4 /src/mesa/main/vtxfmt.c | |
parent | c283b413c1067644001f99e9f8a26a48063968f3 (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.c | 2 |
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); |