diff options
author | Marek Olšák <[email protected]> | 2018-02-14 20:13:40 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-02-23 20:50:17 +0100 |
commit | a0c8b49284efe736849c0a45920ad0a1bbd8d93d (patch) | |
tree | af55b4777c74d150b29eca4af9fb849bdc8bd286 /src/mesa/drivers | |
parent | 605a7f6db51cb946eed508bc9a7adfa753c75e10 (diff) |
mesa: enable OpenGL 3.1 with ARB_compatibility
Tested-by: Dieter Nützel <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/common/dri_util.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c index e6a7d2391a7..a34f38d6114 100644 --- a/src/mesa/drivers/dri/common/dri_util.c +++ b/src/mesa/drivers/dri/common/dri_util.c @@ -381,14 +381,6 @@ driCreateContextAttribs(__DRIscreen *screen, int api, } } - /* Mesa does not support the GL_ARB_compatibilty extension or the - * compatibility profile. This means that we treat a API_OPENGL_COMPAT 3.1 as - * API_OPENGL_CORE and reject API_OPENGL_COMPAT 3.2+. - */ - if (mesa_api == API_OPENGL_COMPAT && - ctx_config.major_version == 3 && ctx_config.minor_version == 1) - mesa_api = API_OPENGL_CORE; - if (mesa_api == API_OPENGL_COMPAT && ((ctx_config.major_version > 3) || (ctx_config.major_version == 3 && |