[Mesa-dev] [PATCH] st/dri: Allow creating OpenGL 3.3. core contexts

Marek Olšák maraeo at gmail.com
Wed Jan 29 03:35:09 PST 2014


Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Wed, Jan 29, 2014 at 10:27 AM, Michel Dänzer <michel at daenzer.net> wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
>
> Enables OpenGL 3.3 piglit tests.
>
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
> ---
>  src/gallium/state_trackers/dri/common/dri_screen.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/state_trackers/dri/common/dri_screen.c b/src/gallium/state_trackers/dri/common/dri_screen.c
> index 6b4c069..7a6dcb2 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)
> --
> 1.8.5.3
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list