[Mesa-dev] [PATCH v3 8/8] mesa: glGet: remove the unused TYPE_API_MASK flags

Oliver McFadden oliver.mcfadden at linux.intel.com
Mon Oct 1 04:21:43 PDT 2012


On Mon, Oct 01, 2012 at 01:38:05PM +0300, Imre Deak wrote:
> Since we generate the hash tables in build time, these flags aren't used
> any more, remove them.
> 
> Signed-off-by: Imre Deak <imre.deak at intel.com>
> Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Oliver McFadden <oliver.mcfadden at linux.intel.com>
> ---
>  src/mesa/main/get.c |    6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
> index c5ccd66..b943d69 100644
> --- a/src/mesa/main/get.c
> +++ b/src/mesa/main/get.c
> @@ -84,7 +84,6 @@
>  
>  enum value_type {
>     TYPE_INVALID,
> -   TYPE_API_MASK,
>     TYPE_INT,
>     TYPE_INT_2,
>     TYPE_INT_3,
> @@ -386,11 +385,6 @@ extra_NV_read_buffer_api_gl[] = {
>     EXTRA_END
>  };
>  
> -#define API_OPENGL_BIT (1 << API_OPENGL)
> -#define API_OPENGLES_BIT (1 << API_OPENGLES)
> -#define API_OPENGLES2_BIT (1 << API_OPENGLES2)
> -#define API_OPENGL_CORE_BIT (1 << API_OPENGL_CORE)
> -
>  /* This is the big table describing all the enums we accept in
>   * glGet*v().  The table is partitioned into six parts: enums
>   * understood by all GL APIs (OpenGL, GLES and GLES2), enums shared
> -- 
> 1.7.9.5
> 

-- 
Oliver McFadden.


More information about the mesa-dev mailing list