d3d11: Use nameless unions.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2021-03-30 20:09:55 +02:00 committed by Alexandre Julliard
parent fa54a0b306
commit 68f8c454ec
3 changed files with 2 additions and 1 deletions

View file

@ -1,7 +1,6 @@
MODULE = d3d11.dll
IMPORTLIB = d3d11
IMPORTS = dxguid uuid dxgi wined3d
EXTRADEFS = -DWINE_NO_NAMELESS_EXTENSION
EXTRADLLFLAGS = -mno-cygwin

View file

@ -18,6 +18,7 @@
*/
#define NONAMELESSUNION
#define WINE_NO_NAMELESS_EXTENSION
#include "d3d11_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(d3d11);

View file

@ -18,6 +18,7 @@
*/
#define NONAMELESSUNION
#define WINE_NO_NAMELESS_EXTENSION
#include "d3d11_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(d3d11);