[PATCH v4 02/11] d3d10: Delete utils.c, move remaining functions into respective files.

Matteo Bruni matteo.mystral at gmail.com
Wed Oct 30 04:27:09 CDT 2019


On Mon, Oct 28, 2019 at 6:16 PM Connor McAdams <conmanx360 at gmail.com> wrote:

> diff --git a/dlls/d3d10/d3d10_main.c b/dlls/d3d10/d3d10_main.c
> index e3d1c57e44..801614d494 100644
> --- a/dlls/d3d10/d3d10_main.c
> +++ b/dlls/d3d10/d3d10_main.c
> @@ -24,6 +24,25 @@
>
>  WINE_DEFAULT_DEBUG_CHANNEL(d3d10);
>
> +#define WINE_D3D10_TO_STR(x) case x: return #x
> +
> +const char *debug_d3d10_driver_type(D3D10_DRIVER_TYPE driver_type)

You should make these functions static now that they're only used in
the same compilation unit.



More information about the wine-devel mailing list