2 * Copyright 2008 Henri Verbeet for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include "wine/port.h"
23 #include "d3d10_private.h"
25 WINE_DEFAULT_DEBUG_CHANNEL(d3d10
);
27 #define WINE_D3D10_TO_STR(x) case x: return #x
29 const char *debug_d3d10_driver_type(D3D10_DRIVER_TYPE driver_type
)
33 WINE_D3D10_TO_STR(D3D10_DRIVER_TYPE_HARDWARE
);
34 WINE_D3D10_TO_STR(D3D10_DRIVER_TYPE_REFERENCE
);
35 WINE_D3D10_TO_STR(D3D10_DRIVER_TYPE_NULL
);
36 WINE_D3D10_TO_STR(D3D10_DRIVER_TYPE_SOFTWARE
);
38 FIXME("Unrecognized D3D10_DRIVER_TYPE %#x\n", driver_type
);
39 return "unrecognized";
43 #undef WINE_D3D10_TO_STR