Explorar el Código

st/dri: Allow creating OpenGL 3.3 core contexts

Enables OpenGL 3.3 piglit tests.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
tags/mesa-10.1-rc1
Michel Dänzer hace 11 años
padre
commit
9f26ad00d7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/gallium/state_trackers/dri/common/dri_screen.c

+ 1
- 1
src/gallium/state_trackers/dri/common/dri_screen.c Ver fichero

@@ -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)

Cargando…
Cancelar
Guardar