[Mesa-dev] [PATCH] swr: remove unneeded fallback strcasecmp define

Rowley, Timothy O timothy.o.rowley at intel.com
Mon Jul 17 15:00:43 UTC 2017


Reviewed-by: Tim Rowley <timothy.o.rowley at intel.com>

> On Jul 17, 2017, at 9:34 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> 
> From: Emil Velikov <emil.velikov at collabora.com>
> 
> The last user of the function was removed with earlier commit.
> 
> Fixes: 50842e8a931 ("swr: replace gallium->swr format enum conversion")
> Cc: Tim Rowley <timothy.o.rowley at intel.com>
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
> ---
> Continue and purge all the strcasecmp cases... it is locale specific YAY
> ---
> src/gallium/drivers/swr/swr_screen.cpp | 5 -----
> 1 file changed, 5 deletions(-)
> 
> diff --git a/src/gallium/drivers/swr/swr_screen.cpp b/src/gallium/drivers/swr/swr_screen.cpp
> index e88b4551ae9..952ae0c77a5 100644
> --- a/src/gallium/drivers/swr/swr_screen.cpp
> +++ b/src/gallium/drivers/swr/swr_screen.cpp
> @@ -46,11 +46,6 @@
> #include <stdio.h>
> #include <map>
> 
> -/* MSVC case instensitive compare */
> -#if defined(PIPE_CC_MSVC)
> -   #define strcasecmp lstrcmpiA
> -#endif
> -
> /*
>  * Max texture sizes
>  * XXX Check max texture size values against core and sampler.
> -- 
> 2.13.0
> 



More information about the mesa-dev mailing list