diff options
author | Marek Olšák <[email protected]> | 2013-03-28 03:02:14 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2013-04-06 23:57:10 +0200 |
commit | 3264c3e99700389f0a3958db7c9c19673107d67a (patch) | |
tree | 2c26670d6e2940646f62742d739452ff2e3aa688 /src/mesa/main/get.c | |
parent | 9d4f67600b0a8f4b37eb2ed45b194e153669d11a (diff) |
mesa: allow drivers not to expose ARB_color_buffer_float in GL core profile
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/get.c')
-rw-r--r-- | src/mesa/main/get.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 244e3ead6e7..2ba868c0d00 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -359,6 +359,13 @@ EXTRA_EXT(ARB_texture_buffer_range); EXTRA_EXT(ARB_texture_multisample); static const int +extra_ARB_color_buffer_float_or_glcore[] = { + EXT(ARB_color_buffer_float), + EXTRA_API_GL_CORE, + EXTRA_END +}; + +static const int extra_NV_primitive_restart[] = { EXT(NV_primitive_restart), EXTRA_END @@ -869,7 +876,7 @@ find_custom_value(struct gl_context *ctx, const struct value_desc *d, union valu * \param func name of calling glGet*v() function for error reporting * \param d the struct value_desc that has the extra constraints * - * \return GL_FALSE if one of the constraints was not satisfied, + * \return GL_FALSE if all of the constraints were not satisfied, * otherwise GL_TRUE. */ static GLboolean |