mesa: Enable a bunch of missing getters on 3.1 core.
authorEric Anholt <eric@anholt.net>
Thu, 9 Aug 2012 01:29:14 +0000 (18:29 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 29 Aug 2012 22:09:36 +0000 (15:09 -0700)
NOTE: maybe I enabled too many?

src/mesa/main/get.c

index cd2f683114fd153de630329b9d22945fad861dce..b780c1fcc77cc67813d79089dbb809499d2726b9 100644 (file)
@@ -707,7 +707,7 @@ static const struct value_desc values[] = {
 #endif /* FEATURE_ES1 */
 
 #if FEATURE_GL || FEATURE_ES2
-   { 0, 0, TYPE_API_MASK, API_OPENGL_BIT | API_OPENGLES2_BIT, NO_EXTRA },
+   { 0, 0, TYPE_API_MASK, API_OPENGL_BIT | API_OPENGL_CORE_BIT | API_OPENGLES2_BIT, NO_EXTRA },
    { GL_MAX_TEXTURE_COORDS_ARB, /* == GL_MAX_TEXTURE_COORDS_NV */
      CONTEXT_INT(Const.MaxTextureCoordUnits),
      extra_ARB_fragment_program_NV_fragment_program },