diff options
author | Ian Romanick <[email protected]> | 2015-05-20 20:13:12 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2015-05-28 16:56:32 -0700 |
commit | a6fa74e6bb65f852ad1608f43dd0731e854ea42f (patch) | |
tree | f6fe8af4f4458c99eec115ea2f59fba6c0a39d74 /src/mesa/main/api_loopback.c | |
parent | 4e5efa9e7ddb6d5273996cf9b09677d918759d17 (diff) |
mesa: Don't install glVertexAttribL* functions in compatibility profile
GL_ARB_vertex_attrib_64bit is exclusive to core profile, and none of the
other functions added by the extension are advertised in other profiles.
Signed-off-by: Ian Romanick <[email protected]>
Cc: Dave Airlie <[email protected]>
Cc: Ilia Mirkin <[email protected]>
Cc: "10.6" <[email protected]>
Diffstat (limited to 'src/mesa/main/api_loopback.c')
-rw-r--r-- | src/mesa/main/api_loopback.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/api_loopback.c b/src/mesa/main/api_loopback.c index 9932a837336..a7fd82c531f 100644 --- a/src/mesa/main/api_loopback.c +++ b/src/mesa/main/api_loopback.c @@ -1772,7 +1772,9 @@ _mesa_loopback_init_api_table(const struct gl_context *ctx, SET_VertexAttribI4sv(dest, _mesa_VertexAttribI4sv); SET_VertexAttribI4ubv(dest, _mesa_VertexAttribI4ubv); SET_VertexAttribI4usv(dest, _mesa_VertexAttribI4usv); + } + if (ctx->API == API_OPENGL_CORE) { /* GL 4.1 / GL_ARB_vertex_attrib_64bit */ SET_VertexAttribL1d(dest, _mesa_VertexAttribL1d); SET_VertexAttribL2d(dest, _mesa_VertexAttribL2d); |