aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/dri
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2014-01-29 18:24:04 +0900
committerMichel Dänzer <[email protected]>2014-01-30 10:30:41 +0900
commit9f26ad00d7f70af72b8ca53604c62587fc2173c4 (patch)
tree7b5a1f933cbc88900bf522b2153c9723afda2b9a /src/gallium/state_trackers/dri
parentcbecd958a7e36736a4447ebe65e5017e5c0ea4a0 (diff)
st/dri: Allow creating OpenGL 3.3 core contexts
Enables OpenGL 3.3 piglit tests. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/dri')
-rw-r--r--src/gallium/state_trackers/dri/common/dri_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/dri/common/dri_screen.c b/src/gallium/state_trackers/dri/common/dri_screen.c
index 6b4c069e0e5..7a6dcb278fd 100644
--- a/src/gallium/state_trackers/dri/common/dri_screen.c
+++ b/src/gallium/state_trackers/dri/common/dri_screen.c
@@ -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)