mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 05:50:11 +01:00
st/dri: Allow creating OpenGL 3.3 core contexts
Enables OpenGL 3.3 piglit tests. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
cbecd958a7
commit
9f26ad00d7
1 changed files with 1 additions and 1 deletions
|
|
@ -455,7 +455,7 @@ dri_init_screen_helper(struct dri_screen *screen,
|
|||
if (screen->st_api->profile_mask & ST_PROFILE_DEFAULT_MASK)
|
||||
screen->sPriv->max_gl_compat_version = 30;
|
||||
if (screen->st_api->profile_mask & ST_PROFILE_OPENGL_CORE_MASK)
|
||||
screen->sPriv->max_gl_core_version = 32;
|
||||
screen->sPriv->max_gl_core_version = 33;
|
||||
if (screen->st_api->profile_mask & ST_PROFILE_OPENGL_ES1_MASK)
|
||||
screen->sPriv->max_gl_es1_version = 11;
|
||||
if (screen->st_api->profile_mask & ST_PROFILE_OPENGL_ES2_MASK)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue